mscgen filter for AsciiDoc
HTML ApacheConf Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
.gitignore
README.adoc
asciidoc-mscgen-readme.html
asciidoc-mscgen-readme.txt
filter-wrapper.py
mscgen-filter.conf

README.adoc

mscgen filter for AsciiDoc

Mscgen (http://www.mcternan.me.uk/mscgen/) is a small program that parses Message Sequence Chart descriptions and produces PNG, SVG, EPS or server side image maps (ismaps) as the output. The program and the language it parses are similar to the Graphviz Dot tools.

Using the AsciiDoc mscgen filter, Message Sequence Chart descriptions can be embedded into AsciiDoc documents and processed into either PNG bitmap or SVG vector graphics.

For example this ASCII text:

msc {
 arcgradient = 8;

 a [label="Client"],b [label="Server"];

 a=>b [label="data1"];
 a-xb [label="data2"];
 a=>b [label="data3"];
 a<=b [label="ack1, nack2"];
 a=>b [label="data2", arcskip="1"];
 |||;
 a<=b [label="ack3"];
 |||;
}

renders:

asciidoc mscgen readme  1

More information and examples can be found on the README page.