Mercurial > hg > camir-aes2014
comparison toolboxes/graph_visualisation/share/graphviz/graphs/undirected/Petersen.gv @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e9a9cd732c1e |
---|---|
1 /* | |
2 * The transitive 5-net, also known as Petersen's graph, | |
3 * can be used to test the "stability points" of the layout | |
4 * algorithm. | |
5 * | |
6 * The "ideal" layout is achieved for certain random seed | |
7 * values when len=1.5. For len=2.5 or above, the layout | |
8 * is stable. Sometimes, the graph is rendered "inside-out". | |
9 */ | |
10 graph "Petersen" { | |
11 node [ | |
12 fontname = "Arial" | |
13 label = "\N" | |
14 shape = "circle" | |
15 width = "0.400000" | |
16 height = "0.400000" | |
17 color = "black" | |
18 ] | |
19 edge [ | |
20 color = "black" | |
21 ] | |
22 /* Outer wheel. The len= is what makes it outer */ | |
23 "0" -- "1" -- "2" -- "3" -- "4" -- "0" [ | |
24 color = "blue" | |
25 len = 2.6 | |
26 ] | |
27 "0" -- "5" [ | |
28 color = "red" | |
29 weight = "5" | |
30 ] | |
31 "1" -- "6" [ | |
32 color = "red" | |
33 weight = "5" | |
34 ] | |
35 "2" -- "7" [ | |
36 color = "red" | |
37 weight = "5" | |
38 ] | |
39 "3" -- "8" [ | |
40 color = "red" | |
41 weight = "5" | |
42 ] | |
43 "4" -- "9" [ | |
44 color = "red" | |
45 weight = "5" | |
46 ] | |
47 "5" -- "7" -- "9" -- "6" -- "8" -- "5"; | |
48 } |