Version 5 (modified by 14 years ago) (diff) | ,
---|
Render message sequence chart diagrams with mscgen
Description
MscgenPlugin provides a plugin for Trac to render mscgen message sequence chart diagrams within a Trac wiki page.
Bugs/Feature Requests
Existing bugs and feature requests for MscgenPlugin are here.
If you have any issues, create a new ticket.
Known bugs:
- path to the msgcen is hardcoded to /usr/local/bin/mscgen
- path to the cache dir is hardcoded to <trac_env>/mscgen
- cache cleanup is missing
Download
Download the zipped source from [download:mscgenplugin here].
Source
You can check out MscgenPlugin from here using Subversion, or browse the source with Trac.
Example
{{{ #!mscgen msc { hscale = "1"; 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<<=c [ label = "callback()"]; --- [ label = "If more to run", ID="*" ]; a->a [ label = "next()"]; a->c [ label = "ac1()\nac2()"]; b<-c [ label = "cb(TRUE)"]; b->b [ label = "stalled(...)"]; a<-b [ label = "ab() = FALSE"]; } }}}
Recent Changes
Author/Contributors
Author: mclap
Contributors:
Attachments (1)
-
msc1.png (1.5 KB) - added by 8 years ago.
Generic mscgen example
Download all attachments as: .zip