wiki:MscgenPlugin

Render message sequence chart diagrams with mscgen

Description

This plugin renders 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

  1. Path to the msgcen is hardcoded to /usr/local/bin/mscgen.
  2. Path to the cache dir is hardcoded to <trac_env>/mscgen.
  3. Cache cleanup is missing.

Download

Download the zipped source from here.

Source

You can check out MscgenPlugin from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

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

6444 by mclap on 2009-08-28 02:05:30
import of version 0.1
6443 by mclap on 2009-08-28 01:57:39
New hack MscgenPlugin, created by mclap
(more)

Author/Contributors

Author: mclap
Maintainer: Pavel Plesov
Contributors:

Last modified 6 months ago Last modified on Nov 21, 2015, 1:26:17 PM