| | 1 | An example for mscgen. Click edit to see how you can create your own mscgen graphs. |
| | 2 | {{{ |
| | 3 | #!mscgen |
| | 4 | msc { |
| | 5 | hscale = "1"; |
| | 6 | |
| | 7 | a,b,c; |
| | 8 | |
| | 9 | a->b [ label = "ab()"]; |
| | 10 | b->c [ label = "bc(TRUE)"]; |
| | 11 | c=>c [ label = "process(1)"]; |
| | 12 | c=>c [ label = "process(2)"]; |
| | 13 | ...; |
| | 14 | c=>c [ label = "process(n)"]; |
| | 15 | c=>c [ label = "process(END)"]; |
| | 16 | a<<=c [ label = "callback()"]; |
| | 17 | --- [ label = "If more to run", ID="*"]; |
| | 18 | a->a [ label = "next()"]; |
| | 19 | a->c [ label = "ac1()\nac2()"]; |
| | 20 | b<-c [ label = "cb(TRUE)"]; |
| | 21 | b->b [ label = "stalled(...)"]; |
| | 22 | a<-b [ label = "ab() = FALSE"]; |
| | 23 | } |
| | 24 | |
| | 25 | }}} |