seqdiag generates sequence-diagram image from text
Project description
seqdiag generate sequence-diagram image file from spec-text file.
Features
Generate sequence-diagram from dot like text (basic feature).
Multilingualization for node-label (utf-8 only).
You can get some examples and generated images on blockdiag.com .
Setup
Use easy_install or pip:
$ sudo easy_install seqdiag Or $ sudo pip seqdiag
Copy and modify ini file. example:
$ cp <seqdiag installed path>/blockdiag/examples/simple.diag . $ vi simple.diag
Please refer to spec-text setting sample section for the format of the simpla.diag configuration file.
spec-text setting sample
Few examples are available. You can get more examples at blockdiag.com .
simple.diag
simple.diag is simply define nodes and transitions by dot-like text format:
diagram { browser -> webserver [label = "GET /index.html"]; browser <-- webserver; browser -> webserver [label = "POST /blog/comment"]; webserver -> database [label = "INSERT comment"]; webserver <-- database; browser <-- webserver; }
Usage
Execute seqdiag command:
$ seqdiag simple.diag $ ls simple.png simple.png
Requirements
Python 2.6, 2.7, 3.2, 3.3, 3.4
Pillow 2.2.1 or later
funcparserlib 0.3.6 or later
reportlab (optional)
wand and imagemagick (optional)
setuptools
License
Apache License 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for seqdiag-0.9.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ed9eea3d51a2ad5e063ccec617c9433fc2dc60f20433c82b624884c09b4d621 |
|
MD5 | 76d1e49c79b2b6e5422ac7a43e086726 |
|
BLAKE2b-256 | 039a86d54f6a93d209649562f1fff77c7fe15d23d15da28569a8eb4e8a3dcfb8 |