File: relative_coord.block

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 (36 lines) | stat: -rw-r--r-- 988 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
use label="", margin=2, distance=2;
row {
    box a [size=30,40] {
        (10,10)->(20,20);
    }
    use imargin=0;
    box b {
        (10,10)->(20,20) [via=(10,30), routing=straight];
    }
    box c {
        (m0%+10,m0%+10)->a  [distance=3];
    }
    box d [size=10] {
        (15,15)->c;
    }
    box e [size=50] {
        (50%+5, 50%+5)->(100%,100%);
        box [top=12, left=20];
        box [left=15, top=50%, allow_arrows=yes];
        (5,50%)<>(100%-5, 50%) [line.width=0.5, 
                                arrow.gvendtype="tickline",
                                arrow.gvstarttype="tickline"];
    }
}
below row {
    box [size=60, imargin=10, line.radius=5] {
        box;

        box [line.width=0.5, line.type=dashed, fill.color=none,
        mtop=0%, mbottom=100%, line.color=red];

        break;
        box [line.width=0.5, line.type=dashed, fill.color=none,
        mtop=m0%, mbottom=m100%, mleft=m0%, mright=m100%];
    }
}