Mercurial > hg > camir-aes2014
annotate toolboxes/graph_visualisation/share/graphviz/graphs/undirected/Heawood.gv @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
rev | line source |
---|---|
wolffd@0 | 1 /* |
wolffd@0 | 2 * The transitive 6-net, also known as Heawood's graph, |
wolffd@0 | 3 * can be used to test the "stability points" of the layout |
wolffd@0 | 4 * algorithm. |
wolffd@0 | 5 |
wolffd@0 | 6 * The "ideal" layout occurs when len="2.5". The layout |
wolffd@0 | 7 * loses the regularity when smaller values are used. |
wolffd@0 | 8 */ |
wolffd@0 | 9 graph "Heawood" { |
wolffd@0 | 10 node [ |
wolffd@0 | 11 fontname = "Arial" |
wolffd@0 | 12 label = "\N" |
wolffd@0 | 13 shape = "circle" |
wolffd@0 | 14 width = "0.50000" |
wolffd@0 | 15 height = "0.500000" |
wolffd@0 | 16 color = "black" |
wolffd@0 | 17 ] |
wolffd@0 | 18 edge [ |
wolffd@0 | 19 color = "black" |
wolffd@0 | 20 ] |
wolffd@0 | 21 /* The outer wheel */ |
wolffd@0 | 22 "0" -- "1" -- "2" -- "3" -- "4" -- "5" -- "6" -- "7" -- "8" -- "9" -- "10" -- "11" -- "12" -- "13" -- "0"; |
wolffd@0 | 23 /* The internal edges. The len = makes them internal */ |
wolffd@0 | 24 "0" -- "5" [len = 2.5]; |
wolffd@0 | 25 "2" -- "7" [len = 2.5]; |
wolffd@0 | 26 "4" -- "9" [len = 2.5]; |
wolffd@0 | 27 "6" -- "11" [len = 2.5]; |
wolffd@0 | 28 "8" -- "13" [len = 2.5]; |
wolffd@0 | 29 "10" -- "1" [len = 2.5]; |
wolffd@0 | 30 "12" -- "3" [len = 2.5]; |
wolffd@0 | 31 } |