diff options
author | Florian Dold <florian@dold.me> | 2023-04-25 22:26:16 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-04-25 22:26:16 +0200 |
commit | 39b3196bfe3fc4e7dddf0c2e46a80fd355db8071 (patch) | |
tree | 832474ecc7f071f8214de63529babbe1318cedfc /transaction-refund-states.dot | |
parent | 2118923b9ef6b932d1a58a113a7c4ea48355c66c (diff) | |
download | docs-39b3196bfe3fc4e7dddf0c2e46a80fd355db8071.tar.gz docs-39b3196bfe3fc4e7dddf0c2e46a80fd355db8071.tar.bz2 docs-39b3196bfe3fc4e7dddf0c2e46a80fd355db8071.zip |
update graphs
Diffstat (limited to 'transaction-refund-states.dot')
-rw-r--r-- | transaction-refund-states.dot | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/transaction-refund-states.dot b/transaction-refund-states.dot index 3d421126..27aba411 100644 --- a/transaction-refund-states.dot +++ b/transaction-refund-states.dot @@ -1,15 +1,31 @@ digraph G { initial[label="", shape="circle", xlabel="refund"]; - pending_merchant[label="pending(merchant)"]; - pending_re[label="pending(refresh)"]; + pending_merchant[label="merchant"]; + pending_refresh[label="refresh"]; + aborting_merchant[label="merchant", style=dashed]; + aborting_refresh[label="refresh",style=dashed]; + aborted[label="aborted", style=dashed, shape=box]; done[label="done", shape="box"]; - failed[label="failed", shape="box"]; + + subgraph { + rank=same; aborted; done; + } + + subgraph { + rank=same; pending_merchant; aborting_merchant; + } + + subgraph { + rank=same; pending_refresh; aborting_refresh; + } initial->pending_merchant; - pending_merchant->pending_re; - pending_merchant->failed; - - pending_re->done; + pending_merchant->pending_refresh [color=green]; + pending_merchant -> aborting_merchant [color=blue, style=dashed]; + aborting_merchant -> aborted [color=green]; + pending_refresh -> aborting_refresh [color=blue]; + aborting_refresh -> aborted [color=green]; + pending_refresh -> done; } |