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