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 3.7 or later
blockdiag 1.5.0 or later
funcparserlib 0.3.6 or later
reportlab (optional)
wand and imagemagick (optional)
setuptools
License
Apache License 2.0
Release files for seqdiag 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| seqdiag-3.0.0.tar.gz | 2.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| seqdiag-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.2 MB
Release files / seqdiag-3.0.0.tar.gz
| Download URL | seqdiag-3.0.0.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e15113a28bd075460a62da44e15a88fafa3c81fdf3a35dcd5e3cd64ef15e961a
|
|
BLAKE2b-256 checksum How to use checksums |
9b667d344b87f0a4ce761efe8a16fa41bad28d4685502540899004c5b3ca34ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / seqdiag-3.0.0-py3-none-any.whl
| Download URL | seqdiag-3.0.0-py3-none-any.whl |
|---|---|
| Size | 2.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fc941a0badc992766ffb393cf46d56f087e6c58438bc20699e7cdbae202033d
|
|
BLAKE2b-256 checksum How to use checksums |
3f0c66a3bedcc9fc972031dec8da2a57d92b1970dc58e23ba69178061f73cee3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|