-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathlegend.dot
50 lines (46 loc) · 2.04 KB
/
legend.dot
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
@startdot
digraph Legend {
rankdir=LR;
bgcolor=white;
subgraph clusterLegend {
color=black;
bgcolor=white;
label = "Legend";
node [shape=rect, style=filled, color=black, fillcolor=white];
# C++ Stuff
CPP [label="Foo.cpp", shape=note, fillcolor=royalblue];
CPP_LGD [label=": C++ source file", color=none];
CPP -> CPP_LGD [arrowhead=none, style=invisible];
LIB [label="Foo.so", shape=component, fillcolor=royalblue];
LIB_LGD [label=": Shared library (i.e. binary)", color=none];
LIB -> LIB_LGD [arrowhead=none, style=invisible];
# C# Stuff
CS [label="Foo.cs", shape=note, fillcolor=darkviolet];
CS_LGD [label=": C# source file", color=none];
CS -> CS_LGD [arrowhead=none, style=invisible];
DLL [label="Foo.dll", shape=component, fillcolor=darkviolet];
DLL_LGD [label=": Assembly output (i.e. binary)", color=none];
DLL -> DLL_LGD [arrowhead=none, style=invisible];
NUPKG [label="Mizux.DotnetNative.nupkg", shape=folder, fillcolor=darkviolet];
NUPKG_LGD [label=": Nuget package file (i.e. archive)", color=none];
NUPKG -> NUPKG_LGD [arrowhead=none, style=invisible];
# Links meaning
A [label="A", shape=note, fillcolor=white];
B [label="B", shape=note, fillcolor=white];
CMD_LGD [label=": 'cmd [...] A' will generate file B from A.", color=none];
A -> B [label="cmd", style=bold];
B -> CMD_LGD [arrowhead=none, style=invisible];
C [label="A", shape=note, fillcolor=white];
D [label="B", shape=note, fillcolor=white];
REF_LGD [label=": B references file A (i.e. B depends on A)\n'ref' may refer to the keyword use in B.", color=none];
C -> D [label="ref", style=dashed];
D -> REF_LGD [arrowhead=none, style=invisible];
E [label="E", shape=note, fillcolor=white];
F [label="F", shape=folder, fillcolor=white];
FOLDER_LGD [label=": Archive F contains file E (i.e. F depends on E).", color=none];
E -> F [label="pack", style=dashed];
F -> FOLDER_LGD [arrowhead=none, style=invisible];
}
}
@enddot
# vim: set tw=0 ts=2 sw=2 expandtab: