-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMerged.m4.gv
More file actions
122 lines (87 loc) · 3.06 KB
/
Merged.m4.gv
File metadata and controls
122 lines (87 loc) · 3.06 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
digraph MergedGraph {
// separation space among boxes:
ranksep=0.1;
// orthogonal connections:
splines=ortho
// adjust box shape here:
node[shape=box3d width=1.8 height=0.6 fontname="Arial"];
// the nodes to draw
ROOT [ label = "Transport" ];
Ground [ label = "Ground"];
Road [ label = "Paved roads"];
subgraph CarsGraph {
// separation space among boxes
ranksep=0.1;
// orthogonal connections
splines=ortho
// adjust box shape here:
node[shape=box3d width=1.8 height=0.6 fontname="Arial"];
// the nodes to draw
Cars [ label = "Cars" style="filled" fillcolor=lightblue ];
node[shape=box3d width=2.0 height=0.2 fontname="Arial" fontsize=10];
Audi [ label = "Audi" ];
BMW [ label = "BMW" ];
// clean up to start drawing the connections. Nodes called (without definition) will be invisible.
node[shape=none, width=0, height=0, label=""];
edge[dir=none];
// connections
Cars -> car1 -> car2;
{rank=same; car1 -> Audi;}
{rank=same; car2 -> BMW;}
}
// Graphviz organization chart
subgraph MotorcyclesGraph {
// separation space among boxes:
ranksep=0.1;
// orthogonal connections:
splines=ortho
// adjust box shape here:
node[shape=box3d width=1.8 height=0.6 fontname="Arial"];
// the nodes to draw
Motorcycles [ label = "Motorcycles" style="filled" fillcolor=lightblue ];
node[shape=box3d width=2.0 height=0.2 fontname="Arial" fontsize=10];
Honda [ label = "Honda" ];
Yamaha [ label = "Yamaha" ];
Suzuki [ label = "Suzuki" ];
BMW [ label = "BMW" ];
// clean up to start drawing the connections. Nodes called (without definition) will be invisible.
node[shape=none, width=0, height=0, label=""];
edge[dir=none];
// connections
Motorcycles ->moto0 -> moto1 -> moto2 -> moto3;
{rank=same; moto0 -> Honda;}
{rank=same; moto1 -> Yamaha;}
{rank=same; moto2 -> Suzuki;}
{rank=same; moto3 -> BMW;}
}
// Graphviz organization chart
subgraph TrucksGraph {
// separation space among boxes:
ranksep=0.1;
// orthogonal connections:
splines=ortho
// adjust box shape here:
node[shape=box3d width=1.8 height=0.6 fontname="Arial"];
// the nodes to draw
Trucks [ label = "Trucks" style="filled" fillcolor=lightblue ];
node[shape=box3d width=2.0 height=0.2 fontname="Arial" fontsize=10];
Scania [ label = "Scania" ];
MercedesBenz [ label = "Mercedes-Benz" ];
// clean up to start drawing the connections. Nodes called (without definition) will be invisible.
node[shape=none, width=0, height=0, label=""];
edge[dir=none];
// connections
Trucks -> trunk0 -> trunk1;
{rank=same; trunk0 -> Scania;}
{rank=same; trunk1 -> MercedesBenz;}
}
node[shape=none, width=0, height=0, label=""];
edge[dir=none];
ROOT -> Ground;
Ground -> n0;
{rank=same; n0 -> Road;}
Road -> r0;
r0 -> Cars;
r0 -> Motorcycles;
r0 -> Trucks;
}