summaryrefslogtreecommitdiffstats
path: root/figs/example7.dot
diff options
context:
space:
mode:
Diffstat (limited to 'figs/example7.dot')
-rw-r--r--figs/example7.dot24
1 files changed, 24 insertions, 0 deletions
diff --git a/figs/example7.dot b/figs/example7.dot
new file mode 100644
index 0000000..289a191
--- /dev/null
+++ b/figs/example7.dot
@@ -0,0 +1,24 @@
+digraph example7 {
+ rankdir="LR";
+ node [texmode="math",shape="circle",style="state"];
+ q0 [style="state,initial",label="0"];
+ q2 [style="state",label="2"];
+ q1 [style="state",label="1"];
+ q4 [style="state,final",label="4"];
+ q3 [style="state",label="3"];
+ q5 [style="state,final",label="5"];
+ edge [texmode="math",lblstyle="auto"];
+ q0 -> q0 [label="b",topath="loop above"];
+ q2 -> q2 [label="a",topath="loop above"];
+ q4 -> q4 [label="a,b",topath="loop above"];
+ q1 -> q1 [label="b",topath="loop below"];
+ q3 -> q3 [label="a,c",topath="loop below"];
+ q5 -> q5 [label="a,b,c",topath="loop below"];
+ q0 -> q1 [label="c"];
+ q0 -> q2 [label="a"];
+ q2 -> q3 [label="c"];
+ q1 -> q3 [label="a,c"];
+ q2 -> q4 [label="b"];
+ q4 -> q5 [label="c"];
+ q3 -> q5 [label="b"];
+}