File: DistanceCrossArrows.block

package info (click to toggle)
msc-generator 8.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 180,648 kB
  • sloc: cpp: 133,265; yacc: 23,546; ansic: 7,210; sh: 4,512; lex: 2,028; makefile: 1,085
file content (23 lines) | stat: -rw-r--r-- 519 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
defproc prr($all, $d, $cross="") {
    box a;
    space 20;
    box b;
    below box c;

    below (a+b@xcenter, c@bottom+15) box d;

    a->c [via=(a@left,c@bottom), via=(c@right+11, c@bottom+11),
          via=b@topright, via=(a+b@center, a@0%), distance=$all,
         distance=d@$d, cross=$cross];

    (a@0-20, b+c@50)..(c@right+20,)  ;
}

use col;
row a {replay prr(5, 5);}
space 20;
row b {replay prr(5, 10);}
space 20;
row c {replay prr(10, 10);}
space 20;
row d {replay prr(10, 10, d);}