You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

actdiag

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

actdiag

actdiag generates activity-diagram image from text

3.0.0
PyPI
Maintainers
1

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

.. image:: https://drone.io/bitbucket.org/blockdiag/actdiag/status.png :target: https://drone.io/bitbucket.org/blockdiag/actdiag :alt: drone.io CI build status

.. image:: https://pypip.in/v/actdiag/badge.png :target: https://pypi.python.org/pypi/actdiag/ :alt: Latest PyPI version

.. image:: https://pypip.in/d/actdiag/badge.png :target: https://pypi.python.org/pypi/actdiag/ :alt: 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 <http://blockdiag.com/actdiag/build/html/index.html>_ .

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

Keywords

diagram

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts