File: exA2.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 (38 lines) | stat: -rw-r--r-- 863 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
##Parallel layout algorithms
##parallel layout one_by_one_merge 
hscale=0.5;
a, c, b[pos=-0.7], d[pos=-0.7], e, f[pos=-0.7];

{
    defstyle arrow [color=red];
    a->b; a->b; a->b; a->b;
    a->b; a->b; a->b; a->b;
} {
    c->e [color=blue];
    [layout=one_by_one_merge] {
        defstyle arrow [color=green+20];
        c->e; c->e; c->e;
    } {
        defstyle arrow [color=green-20];
        d->f; d->f; d->f;
    };
    c->e[color=blue];
};
vertical brace: \-Layout is\n\bone_by_one_merge;
---;
{
    defstyle arrow [color=red];
    a->b; a->b; a->b; a->b;
    a->b; a->b; a->b; a->b;
} {
    c->e [color=blue];
    [layout=one_by_one] {
        defstyle arrow [color=green+20];
        c->e; c->e; c->e;
    } {
        defstyle arrow [color=green-20];
        d->f; d->f; d->f;
    };
    c->e[color=blue];
};
vertical brace: \-Layout is\n\bone_by_one;