-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMotorcycles.gv
More file actions
32 lines (25 loc) · 977 Bytes
/
Motorcycles.gv
File metadata and controls
32 lines (25 loc) · 977 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
30
31
32
// Graphviz organization chart
digraph 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;}
}