Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blockdiag/seqdiag
https://github.com/blockdiag/seqdiag
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blockdiag/seqdiag
- Owner: blockdiag
- License: apache-2.0
- Created: 2018-05-03T07:48:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-02T12:18:35.000Z (about 2 years ago)
- Last Synced: 2024-08-02T12:44:56.808Z (6 months ago)
- Language: Python
- Size: 2.79 MB
- Stars: 67
- Watchers: 4
- Forks: 14
- Open Issues: 23
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - blockdiag/seqdiag - (others)
README
`seqdiag` generate sequence-diagram image file from spec-text file.
.. image:: https://drone.io/bitbucket.org/blockdiag/seqdiag/status.png
:target: https://drone.io/bitbucket.org/blockdiag/seqdiag
:alt: drone.io CI build status.. image:: https://pypip.in/v/seqdiag/badge.png
:target: https://pypi.python.org/pypi/seqdiag/
:alt: Latest PyPI version.. image:: https://pypip.in/d/seqdiag/badge.png
:target: https://pypi.python.org/pypi/seqdiag/
:alt: Number of PyPI downloadsFeatures
========* 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 /blockdiag/examples/simple.diag .
$ vi simple.diagPlease 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.pngRequirements
============
* Python 3.7 or later
* blockdiag 1.5.0 or later
* funcparserlib 0.3.6 or later
* reportlab (optional)
* wand and imagemagick (optional)
* setuptoolsLicense
=======
Apache License 2.0