~ubuntu-branches/ubuntu/precise/graphviz/precise-security

« back to all changes in this revision

Viewing changes to rtest/graphs/arrows.dot

  • Committer: Bazaar Package Importer
  • Author(s): David Claughton
  • Date: 2010-03-24 22:45:18 UTC
  • mfrom: (1.2.7 upstream) (6.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100324224518-do441tthbqjaqjzd
Tags: 2.26.3-4
Add patch to fix segfault in circo. Backported from upstream snapshot
release.  Thanks to Francis Russell for his work on this.
(Closes: #575255)

Show diffs side-by-side

added added

removed removed

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