File: exD3.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 (11 lines) | stat: -rw-r--r-- 730 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
##Block shapes
##block shape oval trapezoid box text
##Using the 'shape' keyword followed by a shape name one can add non-rectangular blocks (which use the 'box' keyword). As a shorthand, you can just type an asterisk and the shape name.##Shapes can be defined by the 'defshape' command, some default shapes are part of the default design library.##The 'text' keyword defines a block without line and fill, just text.##When using two or more blocks for the alignment attriutes (like 'middle=a+b' in this example, the bounding box of the listed blocks is used.
boxcol Cont: Container 
    [line.corner=round] {
    box a: box;
    *oval b: oval;
    shape trapezoid tr: trapezoid;
}
text t: \-a strange\nshape [middle=a+b];
t->tr;