File: ex76.signalling

package info (click to toggle)
msc-generator 8.6.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 180,484 kB
  • sloc: cpp: 129,931; yacc: 23,655; ansic: 7,464; sh: 5,026; makefile: 948
file content (16 lines) | stat: -rw-r--r-- 1,033 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
##Symbol positioning
##symbol position rectangle arc ... text shape left right center middle
##Use 'symbol <type>' to draw onto the chart. <type> can be 'rectangle', 'arc', '...', 'text', 'cross' or 'shape' the latter drawing an arbitrary shape.##Continue with the vertical position: use two markers separated by a dash. You can use only one and specify the height with the 'ysize' attribute.##Then specify the horizontal place by using one or two of 'left', 'right', 'center' followed by 'at <entity>'. You can continue by '--', '-', '+', '++' or '+-<offset>' to specify a position left or right of the entity. If you use only one designator, you can specify width using the 'xsize=<pixels>' attribute.
a, b, c, d;
a->b: Message 1
      goes here;
mark m1;
b->c: Message 2
      goes here;
mark m2;
c->d: Messgae 3
      goes here;
defstyle symbol [fill.color="yellow,200"];
symbol rectangle m1-m2 left at a  [xsize=30];
symbol rectangle   -m2 left at b- [xsize=30, ysize=30];
symbol rectangle m1-   left at c+ [xsize=30, ysize=30];