| 1 |
digraph G { |
| 2 |
nodesep = 0.5; |
| 3 |
nodesep=1 |
| 4 |
splines=true |
| 5 |
|
| 6 |
subgraph directed{ |
| 7 |
rank=same |
| 8 |
0 [width=0.75, height=0.75, fontsize=20]; |
| 9 |
1 [width=0.75, height=0.75, fontsize=20, shape=square]; |
| 10 |
2 [width=0.75, height=0.75, fontsize=20]; |
| 11 |
3 [width=0.75, height=0.75, fontsize=20]; |
| 12 |
4 [width=0.75, height=0.75, fontsize=20]; |
| 13 |
5 [width=0.75, height=0.75, fontsize=20, shape=square]; |
| 14 |
6 [width=0.75, height=0.75, fontsize=20]; |
| 15 |
7 [width=0.75, height=0.75, fontsize=20, shape=square]; |
| 16 |
8 [width=0.75, height=0.75, fontsize=20, shape=square]; |
| 17 |
9 [width=0.75, height=0.75, fontsize=20, shape=square]; |
| 18 |
10 [width=0.75, height=0.75, fontsize=20, shape=square]; |
| 19 |
11 [width=0.75, height=0.75, fontsize=20, shape=square]; |
| 20 |
12 [width=0.75, height=0.75, fontsize=20]; |
| 21 |
|
| 22 |
0->1->2->3->4->5->6->7->8->9->10->11->12; |
| 23 |
} |
| 24 |
subgraph undirected{ |
| 25 |
edge[tailport=n,headport=n]; // this fails |
| 26 |
// edge[tailport=n] // this works |
| 27 |
0->1[dir=none, color=red]; |
| 28 |
0->2[dir=none, color=red]; |
| 29 |
1->9[dir=none, color=red]; |
| 30 |
2->3[dir=none, color=red]; |
| 31 |
2->8[dir=none, color=red]; |
| 32 |
3->4[dir=none, color=red]; |
| 33 |
4->8[dir=none, color=red]; |
| 34 |
7->9[dir=none, color=red]; |
| 35 |
8->9[dir=none, color=red]; |
| 36 |
9->10[dir=none, color=red]; |
| 37 |
9->11[dir=none, color=red]; |
| 38 |
10->11[dir=none, color=red]; |
| 39 |
} |
| 40 |
} |