comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 /*
2 The command line is
3
4 dot -Tps -Grankdir=LR states.dot > states.ps
5
6 and the file is:
7 */
8 digraph states {
9 size="3,2";
10 rankdir=LR;
11 node [shape=ellipse];
12 empty [label = "Empty"];
13 stolen [label = "Stolen"];
14 waiting [label = "Waiting"];
15 full [label = "Full"];
16 empty -> full [label = "return"]
17 empty -> stolen [label = "dispatch", wt=28]
18 stolen -> full [label = "return"];
19 stolen -> waiting [label = "touch"];
20 waiting -> full [label = "return"];
21 }