MscGen
Mscgen (short for MSC generator) is a software tool for drawing message sequence charts from a simple to manage text-based source file.[src] Rendered charts can be output in PNG, SVG and PostScript, with hyperlink information in ismap format.[src] There is an extension for MediaWiki, Sphinx (documentation generator) and integration with Doxygen that allows embedding of charts into source code comments with generated automatically inserted into the generated documentation page.[src] Mscgen is free software licensed under the GNU General Public License (GPL).[src]
Mscgen (short for MSC generator) is a software tool for drawing message sequence charts from a simple to manage text-based source file.[src] Rendered charts can be output in PNG, SVG and PostScript, with hyperlink information in ismap format.[src] There is an extension for MediaWiki, Sphinx (documentation generator) and integration with Doxygen that allows embedding of charts into source code comments with generated automatically inserted into the generated documentation page.[src] Mscgen is free software licensed under the GNU General Public License (GPL).[src] ==Examples== The following example is from the author: msc { a,b,c; a->b [label="ab()"] ; b->c [label="bc(TRUE)"]; c=>c [label="process(1)"]; c=>c [label="process(2)"]; ...; c=>c [label="process(n)"]; c=>c [label="process(END)"]; a a [label="next()"]; a->c [label="ac()"]; b b [label="stalled(...)"]; a Here are two examples of input and output for some standard SIP message flows: ===Simple Call Flow=== msc { UAS1, UAC; UAS1->UAC [label="INVITE"]; UAS1 UAC [label="ACK"]; ...; --- [label="the client hangs up"]; UAS1 ===Alice calls Bob with Intermediary Proxies=== msc { Alice, P1, P2, Bob; Alice->P1 [label="INVITE"]; Alice P2 [label="INVITE"]; P1=>>P2 [label="100 Trying"]; P2->Bob [label="INVITE"]; P2 P1 [label="ACK"]; P1->P2 [label="ACK"]; P2->Bob [label="ACK"]; --- [label="two way media"]; ...; } ==See also== Message Sequence Chart Doxygen Sphinx (documentation generator) GraphViz for similar software for directed graphing PlantUML ==References== ==External links== http://www.mcternan.me.uk/mscgen/ http://packages.python.org/sphinxcontrib-mscgen/[src]
9 sentences · 9 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"MscGen." encyclopegia.org, 2024, https://encyclopegia.org/wiki/mscgen. Accessed 26 November 2026.
Chicago
"MscGen." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/mscgen.
APA
encyclopegia.org. (2024). MscGen. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/mscgen
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON