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