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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: actdiag-3.0.0.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for actdiag-3.0.0.tar.gz
Algorithm Hash digest
SHA256 0efc9b2887d3ec765b0f45bde1d5757a52301151ea62bcc2297e77aad9264006
MD5 110444c79e0de451aa716dc04506c7bd
BLAKE2b-256 6d197511fa0a0048ddb56966e2ef9bcd0971a9496cbdb1487b0b3e16a79f7acb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: actdiag-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 MB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for actdiag-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b24410a4796ab0d704fcaa96d132b559d2b9b0af194ccc663d7761623cd0581
MD5 fd2980b260db0acae12ce1c86f8f9b71
BLAKE2b-256 6b8bdb1a406c6a2238c29b13c22c0dd2171464bfb6672e71c43feaae7ca872e0

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