Skip to main content

nwdiag generate network-diagram image file from spec-text file.

Project description

nwdiag generate network-diagram image file from spec-text file.

Features

  • Generate network-diagram from dot like text (basic feature).

  • Multilingualization for node-label (utf-8 only).

You can get some examples and generated images on tk0miya.bitbucket.org .

Setup

by easy_install

Make environment:

$ easy_install nwdiag

by buildout

Make environment:

$ hg clone http://bitbucket.org/tk0miya/nwdiag
$ cd nwdiag
$ python bootstrap.py
$ bin/buildout

spec-text setting sample

Few examples are available. You can get more examples at tk0miya.bitbucket.org .

simple.diag

simple.diag is simply define nodes and transitions by dot-like text format:

diagram {
  A -> B -> C;
  lane you {
    A; B;
  }
  lane me {
    C;
  }
}

Usage

Execute nwdiag command:

$ nwdiag simple.diag
$ ls simple.png
simple.png

Requirements

  • Python 2.4 or later (not support 3.x)

  • Python Imaging Library 1.1.5 or later.

  • funcparserlib 0.3.4 or later.

  • setuptools or distribute.

License

Apache License 2.0

History

0.2.0 (2011-05-14)

  • Change license to Apache License 2.0

  • Support blockdiag 0.8.1 core interface

0.2.0 (2011-05-02)

  • Rename package to nwdiag

0.1.6 (2011-04-30)

  • Fix bugs

0.1.5 (2011-04-26)

  • Fix bugs

0.1.4 (2011-04-25)

  • Implement jumped edge

  • Fix bugs

0.1.3 (2011-04-23)

  • Fix sphinxcontrib_netdiag was not worked

0.1.2 (2011-04-23)

  • Support multi-homed host

  • Drop network-bridge sytanx (cf. net_a – net_b)

0.1.1 (2011-04-10)

  • Fix bugs

0.1.0 (2011-04-09)

  • First release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nwdiag-0.2.1.tar.gz (19.8 kB view details)

Uploaded Source

File details

Details for the file nwdiag-0.2.1.tar.gz.

File metadata

  • Download URL: nwdiag-0.2.1.tar.gz
  • Upload date:
  • Size: 19.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nwdiag-0.2.1.tar.gz
Algorithm Hash digest
SHA256 7f4c31b665a85d8fe1de76e1ec59d6d66a4920df96c9a4c57fbf027895523628
MD5 3fe372a9a0285224d4bb648b19bf724b
BLAKE2b-256 52e4b9e71fbe16afdbe1b8a6bdd685c0496b4e0f19bcfab0aaf76f951c4d0aa5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page