File: exG4.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 (12 lines) | stat: -rw-r--r-- 1,163 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
##Routing lines
##route line arrow curvy coordinate no label name scope dashed
##The 'use label="";' makes all subsequent element have the empty label (instead of the block name)##We re-use the block names 'a', 'b', 'c' and 'd' four times inside named (invisible columns). To disambiguate references, hierarchical names can be used, such as 'x.a' or 'v.c'.##You can use the '(' syntax to specify a coordinate. If you omit one of the coordinates, the one on the other side of the line/arrow is used resulting in horizontal/vertial lines.##Use the '++' symbol to create a dashed line. You can use 'defstyle ++ [...];' to redefine the style of '++' lines.##The default routing for lines is 'straight', which does not go around blocks in the way, but just crosses them. If you set 'routing=curvy', the line will route around blocks in the way arrows do, see the red line on the example below.
use label="";
col x {box a; box b; box c; box d;}
col y {box a; box b: B; box c; box d;}
col v {box a; box b; box c: C; box d;}
col z {box a; box b; box c; box d;}

(x@left, x.b+x.c@middle) ++ (z@right,);
(x@left, x.b+x.c@middle) ++ (z@right,) 
  [color=red, routing=curvy];