summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-09-22 20:57:18 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-09-22 20:57:18 +0200
commit4ede2e02e4ad64087012638064ef83a4d95bdaba (patch)
tree0ef3cddc986a397af15bb195b45e709d4c42c120
parent3a9ab4902cb4c03276079194c4561815fa5cfb3a (diff)
Add state diagram
-rw-r--r--states.dot9
1 files changed, 9 insertions, 0 deletions
diff --git a/states.dot b/states.dot
new file mode 100644
index 0000000..a6dea28
--- /dev/null
+++ b/states.dot
@@ -0,0 +1,9 @@
+digraph fsm {
+ arrive -> hungry;
+ hungry -> eat;
+ hungry -> starve;
+ starve -> hungry;
+ eat -> leave;
+ eat -> think;
+ think -> hungry;
+}