summaryrefslogtreecommitdiff
path: root/deposit.dot
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-12 13:46:45 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-12 13:46:45 +0200
commit7291d52d015b7ddb391102dfdf5d0c1ac4f52ea9 (patch)
treee12ba30fa688a1fe323c4f6dcd646363393e986d /deposit.dot
parent39106e3bcd6e4c59cacf719f677a374f7dcc7953 (diff)
downloaddocs-7291d52d015b7ddb391102dfdf5d0c1ac4f52ea9.tar.gz
docs-7291d52d015b7ddb391102dfdf5d0c1ac4f52ea9.tar.bz2
docs-7291d52d015b7ddb391102dfdf5d0c1ac4f52ea9.zip
more state machines
Diffstat (limited to 'deposit.dot')
-rw-r--r--deposit.dot27
1 files changed, 27 insertions, 0 deletions
diff --git a/deposit.dot b/deposit.dot
new file mode 100644
index 0000000..aa275ab
--- /dev/null
+++ b/deposit.dot
@@ -0,0 +1,27 @@
+digraph Deposit {
+
+ deposited [color=blue, label="deposit created", shape="box"];
+ ready [color=blue, label="deposit ready", shape="box"];
+ due [color=blue, label="deposit due", shape="box"];
+ tiny [color=blue, label="deposit tiny", shape="box"];
+ done [color=blue, label="deposit done", shape="doublecircle"];
+ wtid [color=blue, label="pending transfer", shape="box"];
+ finished [color=blue, label="finished transfer", shape="doublecircle"];
+
+ pay->deposited;
+ deposited->ready [style=dotted];
+ deposited->refund;
+ refund->deposited;
+ refund->ready;
+ refund->done;
+ ready->due [style=dotted];
+ ready->refund;
+ ready->tiny [style=dotted];
+ due->aggregate;
+ ready->aggregate;
+ tiny->aggregate;
+ aggregate->done;
+ aggregate->wtid;
+ wtid->transfer;
+ transfer->finished;
+}