Skip to main content

actdiag generates activity-diagram image from text

Project description

actdiag generate activity-diagram image file from spec-text file.

drone.io CI build status Latest PyPI version Number of PyPI downloads

Features

  • Generate activity-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 actdiag

Or

$ sudo pip actdiag

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 {
  A -> B -> C;
  lane you {
    A; B;
  }
  lane me {
    C;
  }
}

Usage

Execute actdiag command:

$ actdiag 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

History

0.5.4 (2015-01-01)

  • Follow blockdiag-1.5.0 interface

0.5.3 (2014-07-02)

  • Change interface of docutils node (for sphinxcontrib module)

0.5.2 (2014-06-24)

  • Add options to blockdiag directive (docutils extension)
    • width:

    • height:

    • scale:

    • align:

    • name:

    • class:

    • figwidth:

    • figclass:

0.5.1 (2013-10-22)

  • Fix bugs

0.5.0 (2013-10-05)

  • Support python 3.2 and 3.3 (thanks to @masayuko)

  • Drop supports for python 2.4 and 2.5

  • Replace dependency: PIL -> Pillow

0.4.3 (2013-02-10)

  • Fix bugs

0.4.2 (2013-02-10)

  • Fix bugs

0.4.1 (2012-10-28)

  • Fix bugs

0.4.0 (2012-10-22)

  • Optimize algorithm for rendering shadow

  • Add options to docutils directive

  • Fix bugs

0.3.4 (2012-09-29)

  • Fix bugs

0.3.3 (2012-04-23)

  • Set hyperlinks to header of lanes on SVG image

  • Fill background of lane header with lane.color attribute

0.3.2 (2012-03-15)

  • Fix bugs

0.3.1 (2012-02-15)

  • Add autolane plugin

  • Update to new package structure (blockdiag >= 1.1.2)

0.3.0 (2011-11-19)

  • Add fontfamily attribute for switching fontface

  • Fix bugs

0.2.4 (2011-11-10)

  • Fix dependencies (do not depend PIL directly for pillow users)

0.2.3 (2011-11-06)

  • Add docutils exetension

  • Fix bugs

0.2.2 (2011-11-01)

  • Add class feature (experimental)

0.2.1 (2011-11-01)

  • Follow blockdiag-0.9.7 interface

0.2.0 (2011-10-19)

  • Follow blockdiag-0.9.5 interface

0.1.9 (2011-10-11)

  • Fix bugs

0.1.8 (2011-09-30)

  • Add diagram attribute: default_text_color

0.1.7 (2011-07-05)

  • Fix bugs

0.1.6 (2011-07-03)

  • Support input from stdin

0.1.5 (2011-05-15)

  • Fix bugs

0.1.4 (2011-05-14)

  • Change license to Apache License 2.0

  • Support blockdiag 0.8.1 core interface

0.1.3 (2011-04-19)

  • Fix bugs

0.1.2 (2011-04-11)

  • Fix bugs

0.1.1 (2011-04-10)

  • Fix bugs

0.1.0 (2011-04-09)

  • First release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

actdiag-0.5.4.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

actdiag-0.5.4-py2.py3-none-any.whl (2.6 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file actdiag-0.5.4.tar.gz.

File metadata

  • Download URL: actdiag-0.5.4.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for actdiag-0.5.4.tar.gz
Algorithm Hash digest
SHA256 983071777d9941093aaef3be1f67c198a8ac8d2bba264cdd1f337ca415ab46af
MD5 d254a4dbac727ba7bee1b252e530cb3f
BLAKE2b-256 0e9dccb245cbf5ef580755d3bd449dc6e0148f7570b6c0ca55a6bc183fd8e119

See more details on using hashes here.

File details

Details for the file actdiag-0.5.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for actdiag-0.5.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ccfd02b8a4b5237b318c3eff4fc36d6748f1d1cc897c68ce1075a29de617fa54
MD5 8a6b7ce45e2f856e96ff4ac85d26248b
BLAKE2b-256 39134b7b1d738cea26fbe80d1a5546628115d10b0f02880be2b724cc8004f5db

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page