File: ex61c.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 (21 lines) | stat: -rw-r--r-- 1,390 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
##Redefining vertical styles
##redefine -- .. == ++ -> => > >> ==> =>> vertical symbol line style
##Redefine the 'vertical--', 'vertical==', 'vertical++', 'vertical..', 'vertical->', 'vertical=>', 'vertical>>', 'vertical>', 'vertical=>>', 'vertical==>',  styles (called vertical refinement styles) to impact how verticals using these box and arrow symbols look. Redefine the 'vertical', 'vertical_range', 'vertical_brace', 'vertical_pointer' and 'vertical_bracket' styles to govern how the various kinds of verticals look in general. Note that whatever is in the vertical refinement styles will overwrite the settings of the 'vertical' and 'vertical_XXX' styles. Thus you can not set the line style, since the refinement styles overwrite that.
hscale=auto;
a--a: very\n\nlong\n\nand\n\ntall\n\nlabel [fill.color=lgray];
vertical --: -- standard;
defstyle vertical-- [line.color=red];
vertical --: -- red;
defstyle vertical-- [line.color=red, line.type=dash_dotted];
vertical --: -- red+dashdot;

vertical brace ==: == double line;
defstyle vertical_brace [line.color=blue];
vertical brace ==: == blue with double line;
defstyle emptybox [line.type=long_dashed];
vertical brace ==: == still with double line;
defstyle vertical== [line.type=]; #remove line type setting
vertical brace ==: == now long dashed; #because of 'emptybox'
vertical brace --: -- still dash-dotted; #because of '--'