Skip to content

Commit c57c0ce

Browse files
committed
repos graphviz
1 parent ca84697 commit c57c0ce

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

repos.dot

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
digraph G {
2+
policy [shape=cylinder]
3+
4+
policy100 [label="@1.0.0", shape=cds]
5+
policy200 [label="@2.0.0", shape=cds]
6+
policy201 [label="@2.0.1", shape=cds]
7+
8+
policy -> policy100,policy200,policy201 [color="yellow", arrowType="none"]
9+
app1 [shape=cylinder]
10+
app2 [shape=cylinder]
11+
app3 [shape=cylinder]
12+
infra1 [shape=cylinder]
13+
infra2 [shape=cylinder]
14+
infra3 [shape=cylinder]
15+
e2e [shape=cylinder]
16+
policychecker [shape=cylinder,label="policy-checker"]
17+
18+
app1,app2,app3,infra1,infra2,infra3 -> policychecker
19+
20+
app1 -> policy100 [color=green]
21+
app1 -> policy200,policy201 [color=red,style=dashed]
22+
23+
app2 -> policy201 [color=green]
24+
app2 -> policy100,policy200 [color=orange,style=dashed]
25+
26+
app3 -> policy100 [color=green]
27+
app3 -> policy200,policy200 [color=orange,style=dashed]
28+
29+
e2e -> policy100,policy200,policy201
30+
31+
subgraph cluster_01 {
32+
node [shape=plaintext]
33+
rankdir=LR;
34+
label = "Legend"
35+
36+
start1,start2,start3,start4,end1,end2,end3,end4 [style=invisible]
37+
38+
start1 -> end1 [label="Dependent\non"]
39+
start2 -> end2 [label="Compliant\nwith", color=green]
40+
start3 -> end3 [label="Not-compliant\nwith", color=red]
41+
start4 -> end4 [label="Child\nof", color="yellow"]
42+
43+
}
44+
}

0 commit comments

Comments
 (0)