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 3.5 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

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-2.0.0.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: actdiag-2.0.0.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.8.0

File hashes

Hashes for actdiag-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f0e830b3a24f0b5681b4b116f5d4c370acca800b4e8cb1c7f828e0565bdaa13c
MD5 89c2486256157ae18598842864660640
BLAKE2b-256 4919384c0173bdc1beca3ac96a558f4f55c5ab0cd81fac6925a6f74f889c92c6

See more details on using hashes here.

File details

Details for the file actdiag-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: actdiag-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.8.0

File hashes

Hashes for actdiag-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd68850ba44202311f14e5c822c7a5f032c877538dc2fd3de99fdaa96af0fbc4
MD5 ff884f67d3fb7382074f1dfb76378847
BLAKE2b-256 8e2a08096c077c2c1ec3de4083b3581394a35165ff674caa8dbebf8367f468ad

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