~ubuntu-branches/ubuntu/precise/graphviz/precise-updates

« back to all changes in this revision

Viewing changes to rtest/graphs/Heawood.dot

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-02-08 02:06:56 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080208020656-a3cbewe5ly6dpj0s
Tags: 2.16-3ubuntu1
* Merge with Debian; remaining changes:
  - Drop libttf-dev (libttf-dev is in universe) (LP: #174749).
  - Replace gs-common with ghostscript.
  - Build-depend on python-dev instead of python2.4-dev.
  - Build-depend on liblua50-dev instead of liblua5.1-0-dev.
  - Mention the correct python version for the python bindings in the
    package description.

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
}