skip to navigation
skip to content

netdiag 0.1.6

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

Downloads ↓

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

IMPORTANT: netdiag was renamed to nwdiag

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 netdiag

by buildout

Make environment:

$ hg clone http://bitbucket.org/tk0miya/netdiag
$ cd netdiag
$ 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 netdiag command:

$ netdiag 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 distriubte.

License

Python Software Foundation License.

History

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
 
File Type Py Version Uploaded on Size # downloads
netdiag-0.1.6.tar.gz (md5) Source 2011-04-30 13KB 393