diff options
Diffstat (limited to 'figs/ex1p2d.dot')
-rw-r--r-- | figs/ex1p2d.dot | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/figs/ex1p2d.dot b/figs/ex1p2d.dot new file mode 100644 index 0000000..7dd540c --- /dev/null +++ b/figs/ex1p2d.dot @@ -0,0 +1,17 @@ +digraph ex1p2d { + rankdir="LR"; + node [texmode="math",shape="circle",style="state"]; + q0 [style="state,initial",label="0"]; + q05 [style="state",label="05"]; + q02 [style="state",label="02"]; + qA [style="state,final",label="A"]; + edge [texmode="math",lblstyle="auto"]; + q0 -> q05 [label="b"]; + q0 -> q02 [label="a"]; + q05 -> q02 [label="a"]; + q02 -> q05 [label="b"]; + { rank="same"; q05; q02; } + q05 -> qA [label="b",lblstyle="auto,below"]; + q02 -> qA [label="a"]; + qA -> qA [label="a,b",topath="loop below"]; +} |