transaction-pull-credit-states.dot (1033B)
1 digraph G { 2 initial[label="", shape="circle"]; 3 pending_create[label="purse-create"]; 4 pending_qr[label="ready"]; 5 aborting_delete[label="delete-purse", style=dashed]; 6 pending_withdraw[label="withdraw"]; 7 pending_kyc[label="kyc"]; 8 pending_aml[label="aml"]; 9 10 aborted[label="aborted", shape="box", style=dashed]; 11 done[label="done", shape="box"]; 12 13 // subgraph { 14 // rank = same; pending_withdraw; failed; 15 // } 16 17 subgraph { 18 rank=max; 19 aborted; done; 20 } 21 22 subgraph { 23 rank=same; 24 pending_create; pending_qr; 25 } 26 27 initial->pending_create; 28 29 pending_create->pending_qr; 30 31 pending_qr->aborting_delete [color="blue", style=dashed]; 32 pending_qr->pending_withdraw [color=green]; 33 34 aborting_delete->pending_withdraw [color="red"]; 35 aborting_delete->aborted [color=green]; 36 37 pending_withdraw->done [color=green]; 38 pending_withdraw->pending_kyc [color=red]; 39 pending_withdraw->pending_aml [color=red]; 40 41 pending_kyc->pending_withdraw [color="green"]; 42 pending_aml->pending_withdraw [color="green"]; 43 }