File: ex56.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 (23 lines) | stat: -rw-r--r-- 980 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
##Specifying colors
##color lighter darker transparent opaque
##You can use <color>+-<num> to have a color with different darkness; <color>,<num> to govern transparency. Use ++<color_spec> to overlay (mix) a color on an existing color. This can be made part of a style and then applying the style mixes the existing colors.
a, b;
--: Overall [fill.color = blue+50,
             fill.gradient=up] {
    a--b [fill.color=red]:     solid;
    a--b [fill.color=red,128]: transparent;
    a--b [fill.color=red-50]:  dark red;
    a--b [fill.color=red+50]:  light red;
    a--b [fill.color=none]:    none;
    defstyle arrow [line.color=red, 
                    arrow.color=green, 
                    text.color=blue];
    a->b: Unmodified;    
    a->b: Yellow overcast [color=++yellow,150];

    defstyle overcast [line.color=++yellow,150, 
                       arrow.color=++yellow,150, 
                       text.color=++yellow,150];
    a->b: Yellow overcast [overcast];
};