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

« back to all changes in this revision

Viewing changes to graphs/undirected/Heawood.gv

  • 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
/*
 
2
 * The transitive 6-net, also known as Heawood's graph,
 
3
 * can be used to test the "stability points" of the layout
 
4
 * algorithm.
 
5
 
 
6
 * The "ideal" layout occurs when len="2.5". The layout
 
7
 * loses the regularity when smaller values are used.
 
8
 */
 
9
graph "Heawood" {
 
10
        node [
 
11
                fontname = "Arial"
 
12
                label = "\N"
 
13
                shape = "circle"
 
14
                width = "0.50000"
 
15
                height = "0.500000"
 
16
                color = "black"
 
17
        ]
 
18
        edge [
 
19
                color = "black"
 
20
        ]
 
21
        /* The outer wheel */
 
22
        "0" -- "1" -- "2" -- "3" -- "4" -- "5" -- "6" -- "7" -- "8" -- "9" -- "10" -- "11" -- "12" -- "13" -- "0";
 
23
        /* The internal edges. The len = makes them internal */
 
24
        "0" -- "5" [len = 2.5];
 
25
        "2" -- "7" [len = 2.5];
 
26
        "4" -- "9" [len = 2.5];
 
27
        "6" -- "11" [len = 2.5];
 
28
        "8" -- "13" [len = 2.5];
 
29
        "10" -- "1" [len = 2.5];
 
30
        "12" -- "3" [len = 2.5];
 
31
}