wolffd@0
|
1 digraph G {
|
wolffd@0
|
2 // leave some space for the head/taillabels
|
wolffd@0
|
3 graph [ranksep=1.5 splines=true overlap=false]
|
wolffd@0
|
4
|
wolffd@0
|
5 // to avoid confusion, remember this:
|
wolffd@0
|
6 // it's spelt tail/head, but it's read start/end
|
wolffd@0
|
7
|
wolffd@0
|
8 // emphasize theatrically
|
wolffd@0
|
9 // show only explicitly given head/tails
|
wolffd@0
|
10 // put head/tail labels farther from the node
|
wolffd@0
|
11 // edge [arrowsize=2 dir=none labeldistance=3]
|
wolffd@0
|
12 edge [dir=none labeldistance=3]
|
wolffd@0
|
13
|
wolffd@0
|
14 // not interested in node labels
|
wolffd@0
|
15 node [shape=circle width=0.5 label=""]
|
wolffd@0
|
16
|
wolffd@0
|
17 {
|
wolffd@0
|
18 edge [samehead=ahead samearrowhead=1]
|
wolffd@0
|
19 a->Z [arrowtail=none taillabel=none]
|
wolffd@0
|
20 b->Z [arrowtail=normal taillabel=normal]
|
wolffd@0
|
21 c->Z [arrowtail=inv taillabel=inv]
|
wolffd@0
|
22 d->Z [arrowtail=dot taillabel=dot]
|
wolffd@0
|
23 e->Z [arrowtail=odot taillabel=odot]
|
wolffd@0
|
24 f->Z [arrowtail=invdot taillabel=invdot]
|
wolffd@0
|
25 g->Z [arrowtail=invodot taillabel=invodot]
|
wolffd@0
|
26 h->Z [arrowtail=open taillabel=open]
|
wolffd@0
|
27 i->Z [arrowtail=halfopen taillabel=halfopen arrowhead=inv headlabel=samehead]
|
wolffd@0
|
28 j->Z [arrowtail=empty taillabel=empty]
|
wolffd@0
|
29 k->Z [arrowtail=invempty taillabel=invempty]
|
wolffd@0
|
30 l->Z [arrowtail=diamond taillabel=diamond]
|
wolffd@0
|
31 m->Z [arrowtail=odiamond taillabel=odiamond]
|
wolffd@0
|
32 n->Z [arrowtail=box taillabel=box]
|
wolffd@0
|
33 o->Z [arrowtail=obox taillabel=obox]
|
wolffd@0
|
34 p->Z [arrowtail=tee taillabel=tee]
|
wolffd@0
|
35 q->Z [arrowtail=crow taillabel=crow]
|
wolffd@0
|
36 }
|
wolffd@0
|
37 {
|
wolffd@0
|
38 edge [sametail=atail samearrowtail=1]
|
wolffd@0
|
39 Z->A [arrowhead=none headlabel=none]
|
wolffd@0
|
40 Z->B [arrowhead=normal headlabel=normal]
|
wolffd@0
|
41 Z->C [arrowhead=inv headlabel=inv]
|
wolffd@0
|
42 Z->D [arrowhead=dot headlabel=dot]
|
wolffd@0
|
43 Z->E [arrowhead=odot headlabel=odot]
|
wolffd@0
|
44 Z->F [arrowhead=invdot headlabel=invdot]
|
wolffd@0
|
45 Z->G [arrowhead=invodot headlabel=invodot]
|
wolffd@0
|
46 Z->H [arrowhead=open headlabel=open]
|
wolffd@0
|
47 Z->I [arrowhead=halfopen headlabel=halfopen arrowtail=inv taillabel=sametail]
|
wolffd@0
|
48 Z->J [arrowhead=empty headlabel=empty]
|
wolffd@0
|
49 Z->K [arrowhead=invempty headlabel=invempty]
|
wolffd@0
|
50 Z->L [arrowhead=diamond headlabel=diamond]
|
wolffd@0
|
51 Z->M [arrowhead=odiamond headlabel=odiamond]
|
wolffd@0
|
52 Z->N [arrowhead=box headlabel=box]
|
wolffd@0
|
53 Z->O [arrowhead=obox headlabel=obox]
|
wolffd@0
|
54 Z->P [arrowhead=tee headlabel=tee]
|
wolffd@0
|
55 Z->Q [arrowhead=crow headlabel=crow]
|
wolffd@0
|
56 }
|
wolffd@0
|
57 }
|