summaryrefslogtreecommitdiffstats
path: root/figs/example2b.dot
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2016-11-23 15:41:06 +0100
committerDavid A. Madore <david+git@madore.org>2016-11-23 15:43:41 +0100
commitf6780feb6aae79f7a476547cb68b37b97bc5d585 (patch)
tree7a3bbd6834cb7d044ca6d34d39157ef88015a49f /figs/example2b.dot
parent83a2cb4675358bbc4df0b50dbf25d8c295330da7 (diff)
downloadinf105-f6780feb6aae79f7a476547cb68b37b97bc5d585.tar.gz
inf105-f6780feb6aae79f7a476547cb68b37b97bc5d585.tar.bz2
inf105-f6780feb6aae79f7a476547cb68b37b97bc5d585.zip
Incomplete DFAs. Change formating of self-loops in graphs.
Diffstat (limited to 'figs/example2b.dot')
-rw-r--r--figs/example2b.dot13
1 files changed, 13 insertions, 0 deletions
diff --git a/figs/example2b.dot b/figs/example2b.dot
new file mode 100644
index 0000000..acc60d2
--- /dev/null
+++ b/figs/example2b.dot
@@ -0,0 +1,13 @@
+digraph example2b {
+ 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="c",topath="loop above"];
+ q0 -> q1 [label="a"];
+ q1 -> q1 [label="c",topath="loop above"];
+ q1 -> q2 [label="b"];
+ q2 -> q2 [label="c",topath="loop above"];
+}