-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTrucks.gv
More file actions
29 lines (21 loc) · 826 Bytes
/
Trucks.gv
File metadata and controls
29 lines (21 loc) · 826 Bytes
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
// Graphviz organization chart
digraph 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;}
}