File: ex57.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-- 590 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
##Parallel blocks
##parallel multiple besides side-by-side
##You can use the 'parallel' keyword before an element to allow laying out subsequent elements in parallel of it. Use curly braces to group a set of elements. Note, that Msc-generator wants to avoid overlap, hence 'parallel' have effect only if the subsequent element is fully left or right of the one marked with 'parallel'. 
hscale = 0.8;
parallel {
    a->b: first msg;
    a<-b: second msg;
};
box c--d: This will
          be besides;

parallel {
    c->d: third msg;
    c<-d: fourth msg;
};
box a--c: This cannot be besides;