skip to navigation
skip to content

seqdiag 0.9.5

seqdiag generates sequence-diagram image from text

seqdiag generate sequence-diagram image file from spec-text file.


  • Generate sequence-diagram from dot like text (basic feature).
  • Multilingualization for node-label (utf-8 only).

You can get some examples and generated images on .


Use easy_install or pip:

$ sudo easy_install seqdiag


$ sudo pip seqdiag

Copy and modify ini file. example:

$ cp <seqdiag installed path>/blockdiag/examples/simple.diag .
$ vi simple.diag

Please refer to spec-text setting sample section for the format of the simpla.diag configuration file.

spec-text setting sample

Few examples are available. You can get more examples at .


simple.diag is simply define nodes and transitions by dot-like text format:

diagram {
  browser  -> webserver [label = "GET /index.html"];
  browser <-- webserver;
  browser  -> webserver [label = "POST /blog/comment"];
              webserver  -> database [label = "INSERT comment"];
              webserver <-- database;
  browser <-- webserver;


Execute seqdiag command:

$ seqdiag simple.diag
$ ls simple.png


  • 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


Apache License 2.0

File Type Py Version Uploaded on Size
seqdiag-0.9.5-py2.py3-none-any.whl (md5) Python Wheel 2.7 2015-01-01 2MB
seqdiag-0.9.5.tar.gz (md5) Source 2015-01-01 2MB