1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
defstyle block [text.color=white, shadow.offset=5, shadow.color=lgray, shadow.blur=2, fill.color="51,153,255", fill.color2="0,51,204", fill.gradient=up];
template cell two_small_boxes {
box main: [text.gap.left=10, imargin=5];
box sm1: [width=20, height=main@20%, center=main@left, top=main@20%, shadow.offset=0];
box sm2: [width=20, height=main@20%, center=main@left, top=main@60%, shadow.offset=0];
join main+sm1+sm2 [line.type=, shadow.offset=5, shadow.color=lgray, shadow.blur=2];
}
use col;
copy two_small_boxes as A {
update main:Application\nComponent;
update sm1,sm2 [color=red, fill.color2=red-50];
}
space;
row {
box B:Service 1;
box C:Service 2;
}
A.sm1@left--B [routing=curvy];
A--C;
|