Graphviz Issue Tracker - graphviz
View Issue Details
0002579graphvizDotpublic2015-11-22 13:322015-11-22 13:32
cypherpunks 
 
normalfeaturealways
newopen 
0002579: Implement support for msc
>Mscgen is a small program that parses Message Sequence Chart descriptions and produces images as the output. Message Sequence Charts (MSCs) are a way of representing entities and interactions over some time period. This program and the language it parses have been inspired by Graphviz Dot, which provides a really good way to document State Transition Diagrams, data structures and directed graphs.
http://www.mcternan.me.uk/mscgen/index.html [^]
Input any msc source, for example

# MSC for some fictional process
msc {
  hscale = "2";

  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"];
}

You should get the image like http://www.mcternan.me.uk/mscgen/img/example0.png. [^]
But dottool now doesn't support msc. It is bad, because the msc language is inherited from dot and it is a bit confusing to have different tools for that.
No tags attached.
Issue History
2015-11-22 13:32cypherpunksNew Issue

There are no notes attached to this issue.