Mercurial > hg > camir-ismir2012
annotate toolboxes/graph_visualisation/share/graphviz/graphs/directed/states.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 command line is |
Daniel@0 | 3 |
Daniel@0 | 4 dot -Tps -Grankdir=LR states.dot > states.ps |
Daniel@0 | 5 |
Daniel@0 | 6 and the file is: |
Daniel@0 | 7 */ |
Daniel@0 | 8 digraph states { |
Daniel@0 | 9 size="3,2"; |
Daniel@0 | 10 rankdir=LR; |
Daniel@0 | 11 node [shape=ellipse]; |
Daniel@0 | 12 empty [label = "Empty"]; |
Daniel@0 | 13 stolen [label = "Stolen"]; |
Daniel@0 | 14 waiting [label = "Waiting"]; |
Daniel@0 | 15 full [label = "Full"]; |
Daniel@0 | 16 empty -> full [label = "return"] |
Daniel@0 | 17 empty -> stolen [label = "dispatch", wt=28] |
Daniel@0 | 18 stolen -> full [label = "return"]; |
Daniel@0 | 19 stolen -> waiting [label = "touch"]; |
Daniel@0 | 20 waiting -> full [label = "return"]; |
Daniel@0 | 21 } |