annotate toolboxes/graph_visualisation/share/graphviz/graphs/undirected/Petersen.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 5-net, also known as Petersen'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 is achieved for certain random seed
Daniel@0 7 * values when len=1.5. For len=2.5 or above, the layout
Daniel@0 8 * is stable. Sometimes, the graph is rendered "inside-out".
Daniel@0 9 */
Daniel@0 10 graph "Petersen" {
Daniel@0 11 node [
Daniel@0 12 fontname = "Arial"
Daniel@0 13 label = "\N"
Daniel@0 14 shape = "circle"
Daniel@0 15 width = "0.400000"
Daniel@0 16 height = "0.400000"
Daniel@0 17 color = "black"
Daniel@0 18 ]
Daniel@0 19 edge [
Daniel@0 20 color = "black"
Daniel@0 21 ]
Daniel@0 22 /* Outer wheel. The len= is what makes it outer */
Daniel@0 23 "0" -- "1" -- "2" -- "3" -- "4" -- "0" [
Daniel@0 24 color = "blue"
Daniel@0 25 len = 2.6
Daniel@0 26 ]
Daniel@0 27 "0" -- "5" [
Daniel@0 28 color = "red"
Daniel@0 29 weight = "5"
Daniel@0 30 ]
Daniel@0 31 "1" -- "6" [
Daniel@0 32 color = "red"
Daniel@0 33 weight = "5"
Daniel@0 34 ]
Daniel@0 35 "2" -- "7" [
Daniel@0 36 color = "red"
Daniel@0 37 weight = "5"
Daniel@0 38 ]
Daniel@0 39 "3" -- "8" [
Daniel@0 40 color = "red"
Daniel@0 41 weight = "5"
Daniel@0 42 ]
Daniel@0 43 "4" -- "9" [
Daniel@0 44 color = "red"
Daniel@0 45 weight = "5"
Daniel@0 46 ]
Daniel@0 47 "5" -- "7" -- "9" -- "6" -- "8" -- "5";
Daniel@0 48 }