actdiag is a Python module to generate activity-diagram image file from spec-text file.
You can get some examples and generated images on tk0miya.bitbucket.org .
Setup
by easy_install
Make environment:
easy_install actdiag
by buildout
Make environment:
hg clone http://bitbucket.org/tk0miya/actdiag
cd actdiag
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 actdiag command:
actdiag simple.diag
ls simple.png
simple.png
Features:
- Generate activity-diagram from dot like text (basic feature).
- Multilingualization for node-label (utf-8 only).
What is new in this release:
- Optimize algorithm for rendering shadow
- Add options to docutils directive
- Fix bugs
What is new in version 0.3.4:
- Fix bugs
What is new in version 0.3.3:
- Set hyperlinks to header of lanes on SVG image
- Fill background of lane header with lane.color attribute
What is new in version 0.3.2:
- Fix bugs
What is new in version 0.3.1:
- Add autolane plugin
- Update to new package structure (blockdiag >= 1.1.2)
What is new in version 0.3.0:
- Add fontfamily attribute for switching fontface
- Fix bugs
What is new in version 0.2.4:
- Fix dependencies (do not depend PIL directly for pillow users)
What is new in version 0.2.3:
- Add docutils exetension
- Fix bugs
What is new in version 0.2.2:
- Add class feature (experimental)
Requirements:
- Python
- PIL
- funcparserlib
- setuptools
Comments not found