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