-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcycle3.gv
77 lines (59 loc) · 1.41 KB
/
cycle3.gv
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
digraph cycle1 {
rankdir="LR";
# a 'graph' statement
graph [overlap = false, fontsize = 10,
layout = dot, colorscheme = svg,
size="9,15!" ]
node [shape = circle,
fixedsize = true,
style= filled,
width = 0.9] // sets as circles
edge [penwidth = 5]
node [fillcolor = firebrick, label="Plan", pos = "0,0!"]
plan
node [fillcolor = orange, label="Collect"]
collect
node [fillcolor = mediumseagreen, label="Process"]
process
node [fillcolor = goldenrod, label="Analyze"]
analyze
node [fillcolor = mediumpurple, label="Preserve"]
preserve
preserve2
node [fillcolor = lightskyblue, label="Share"]
share []
node [fillcolor = dodgerblue, label="Reuse"]
reuse
node [style=invis]
invis1
invis2
invis3
invis4
# several 'edge' statements
subgraph cluster_0 {
rank = "same";
style = filled;
color=lightgrey;
edge [color = grey]
plan -> collect
collect -> invis1 -> process [style=invis]
process -> analyze
}
subgraph cluster_1 {
rank = "same";
edge [style=invis]
invis3 -> invis2 -> preserve -> invis4 -> preserve2
}
subgraph cluster_2 {
style = filled;
color=lightgrey;
edge [color = grey]
share -> reuse
}
edge [color = black]
collect -> preserve
analyze -> preserve2
preserve -> process
preserve -> share
preserve2 -> share
}