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
|
msc {
hscale =2;
a,b,c,d,e,f;
*<-c:aaa;
b->*:xxx;
a->f [label="multiline
label"];
a box a [label="aa", textbgcolor=red],
b rbox b [label="bb", linecolor=green],
c abox c [label="cc", textcolour=olive],
d note d [label="dd"],
d rbox f;
c:> d: xyz;
e=>>f;
e=>f;
e>>f;
e-x f;
# The entities
A, B, C, D;
# Small gap before the boxes
|||;
# Next four on same line due to ','
A box A [label="box"],
B rbox B [label="rbox"],
C abox C [label="abox"],
D note D [label="note"];
# Example of the boxes with filled backgrounds
A abox B [label="abox", textbgcolour="#ff7f7f"];
B rbox C [label="rbox", textbgcolour="#7fff7f"];
C note D [label="note", textbgcolour="#7f7fff"];
}
|