Mercurial > hg > camir-ismir2012
annotate toolboxes/graph_visualisation/share/graphviz/graphs/undirected/Heawood.gv @ 0:cc4b1211e677 tip
initial commit to HG from
Changeset:
646 (e263d8a21543) added further path and more save "camirversion.m"
author | Daniel Wolff |
---|---|
date | Fri, 19 Aug 2016 13:07:06 +0200 |
parents | |
children |
rev | line source |
---|---|
Daniel@0 | 1 /* |
Daniel@0 | 2 * The transitive 6-net, also known as Heawood's graph, |
Daniel@0 | 3 * can be used to test the "stability points" of the layout |
Daniel@0 | 4 * algorithm. |
Daniel@0 | 5 |
Daniel@0 | 6 * The "ideal" layout occurs when len="2.5". The layout |
Daniel@0 | 7 * loses the regularity when smaller values are used. |
Daniel@0 | 8 */ |
Daniel@0 | 9 graph "Heawood" { |
Daniel@0 | 10 node [ |
Daniel@0 | 11 fontname = "Arial" |
Daniel@0 | 12 label = "\N" |
Daniel@0 | 13 shape = "circle" |
Daniel@0 | 14 width = "0.50000" |
Daniel@0 | 15 height = "0.500000" |
Daniel@0 | 16 color = "black" |
Daniel@0 | 17 ] |
Daniel@0 | 18 edge [ |
Daniel@0 | 19 color = "black" |
Daniel@0 | 20 ] |
Daniel@0 | 21 /* The outer wheel */ |
Daniel@0 | 22 "0" -- "1" -- "2" -- "3" -- "4" -- "5" -- "6" -- "7" -- "8" -- "9" -- "10" -- "11" -- "12" -- "13" -- "0"; |
Daniel@0 | 23 /* The internal edges. The len = makes them internal */ |
Daniel@0 | 24 "0" -- "5" [len = 2.5]; |
Daniel@0 | 25 "2" -- "7" [len = 2.5]; |
Daniel@0 | 26 "4" -- "9" [len = 2.5]; |
Daniel@0 | 27 "6" -- "11" [len = 2.5]; |
Daniel@0 | 28 "8" -- "13" [len = 2.5]; |
Daniel@0 | 29 "10" -- "1" [len = 2.5]; |
Daniel@0 | 30 "12" -- "3" [len = 2.5]; |
Daniel@0 | 31 } |