2017-02-15 20:11:17 +00:00
|
|
|
digraph {
|
2017-02-23 00:56:39 +00:00
|
|
|
Wormhole [shape="oval" color="blue" fontcolor="blue"]
|
2017-02-22 21:45:18 +00:00
|
|
|
Boss [shape="box" label="Boss\n(manager)"
|
2017-02-16 00:11:26 +00:00
|
|
|
color="blue" fontcolor="blue"]
|
2017-03-12 17:38:48 +00:00
|
|
|
Nameplate [label="Nameplate\n(claimer)"
|
|
|
|
shape="box" color="blue" fontcolor="blue"]
|
|
|
|
Mailbox [label="Mailbox\n(opener)"
|
|
|
|
shape="box" color="blue" fontcolor="blue"]
|
2017-02-16 01:46:28 +00:00
|
|
|
Connection [label="Rendezvous\nConnector"
|
2017-02-22 02:15:47 +00:00
|
|
|
shape="oval" color="blue" fontcolor="blue"]
|
2017-03-12 12:03:44 +00:00
|
|
|
#websocket [color="blue" fontcolor="blue"]
|
2017-02-22 01:56:32 +00:00
|
|
|
Order [shape="box" label="Ordering" color="blue" fontcolor="blue"]
|
|
|
|
Key [shape="box" label="Key" color="blue" fontcolor="blue"]
|
|
|
|
Send [shape="box" label="Send" color="blue" fontcolor="blue"]
|
|
|
|
Receive [shape="box" label="Receive" color="blue" fontcolor="blue"]
|
2017-02-19 19:26:11 +00:00
|
|
|
Code [shape="box" label="Code" color="blue" fontcolor="blue"]
|
2017-03-12 12:03:44 +00:00
|
|
|
Lister [shape="box" label="(nameplate)\nLister"
|
2017-03-03 14:22:40 +00:00
|
|
|
color="blue" fontcolor="blue"]
|
2017-03-12 12:03:44 +00:00
|
|
|
Allocator [shape="box" label="(nameplate)\nAllocator"
|
|
|
|
color="blue" fontcolor="blue"]
|
2017-03-12 17:38:48 +00:00
|
|
|
Input [shape="box" label="(interactive\ncode)\nInput"
|
2017-03-12 12:03:44 +00:00
|
|
|
color="blue" fontcolor="blue"]
|
2017-02-26 10:33:14 +00:00
|
|
|
Terminator [shape="box" color="blue" fontcolor="blue"]
|
2017-03-12 17:38:48 +00:00
|
|
|
InputHelperAPI [shape="oval" label="input\nhelper\nAPI"
|
|
|
|
color="blue" fontcolor="blue"]
|
2017-02-16 00:11:26 +00:00
|
|
|
|
2017-03-12 12:03:44 +00:00
|
|
|
#Connection -> websocket [color="blue"]
|
2017-02-22 01:56:32 +00:00
|
|
|
#Connection -> Order [color="blue"]
|
2017-02-16 00:11:26 +00:00
|
|
|
|
2017-03-12 12:03:44 +00:00
|
|
|
Wormhole -> Boss [style="dashed"
|
|
|
|
label="allocate_code\ninput_code\nset_code\nsend\nclose\n(once)"
|
|
|
|
color="red" fontcolor="red"]
|
2017-02-23 00:56:39 +00:00
|
|
|
#Wormhole -> Boss [color="blue"]
|
2017-03-04 10:36:19 +00:00
|
|
|
Boss -> Wormhole [style="dashed" label="got_code\ngot_key\ngot_verifier\ngot_version\nreceived (seq)\nclosed\n(once)"]
|
2017-02-16 01:46:28 +00:00
|
|
|
|
2017-02-22 21:45:18 +00:00
|
|
|
#Boss -> Connection [color="blue"]
|
2017-03-12 12:03:44 +00:00
|
|
|
Boss -> Connection [style="dashed" label="start"
|
|
|
|
color="red" fontcolor="red"]
|
2017-03-03 07:55:59 +00:00
|
|
|
Connection -> Boss [style="dashed" label="rx_welcome\nrx_error\nerror"]
|
2017-02-22 01:56:32 +00:00
|
|
|
|
2017-03-12 12:03:44 +00:00
|
|
|
Boss -> Send [style="dashed" color="red" fontcolor="red" label="send"]
|
2017-02-16 01:46:28 +00:00
|
|
|
|
2017-02-22 21:45:18 +00:00
|
|
|
#Boss -> Mailbox [color="blue"]
|
2017-02-22 01:56:32 +00:00
|
|
|
Mailbox -> Order [style="dashed" label="got_message (once)"]
|
2017-03-04 09:55:42 +00:00
|
|
|
Key -> Boss [style="dashed" label="got_key\ngot_verifier\nscared"]
|
2017-02-22 01:56:32 +00:00
|
|
|
Order -> Key [style="dashed" label="got_pake"]
|
|
|
|
Order -> Receive [style="dashed" label="got_message"]
|
2017-02-22 21:45:18 +00:00
|
|
|
#Boss -> Key [color="blue"]
|
2017-02-26 10:33:14 +00:00
|
|
|
Key -> Mailbox [style="dashed"
|
|
|
|
label="add_message (pake)\nadd_message (version)"]
|
2017-02-22 01:56:32 +00:00
|
|
|
Receive -> Send [style="dashed" label="got_verified_key"]
|
2017-03-12 12:03:44 +00:00
|
|
|
Send -> Mailbox [style="dashed" color="red" fontcolor="red"
|
|
|
|
label="add_message (phase)"]
|
2017-02-22 01:56:32 +00:00
|
|
|
|
|
|
|
Key -> Receive [style="dashed" label="got_key"]
|
2017-02-22 21:45:18 +00:00
|
|
|
Receive -> Boss [style="dashed"
|
2017-02-26 10:33:14 +00:00
|
|
|
label="happy\nscared\ngot_message"]
|
|
|
|
Nameplate -> Connection [style="dashed"
|
|
|
|
label="tx_claim\ntx_release"]
|
|
|
|
Connection -> Nameplate [style="dashed"
|
|
|
|
label="connected\nlost\nrx_claimed\nrx_released"]
|
|
|
|
Mailbox -> Nameplate [style="dashed" label="release"]
|
|
|
|
Nameplate -> Mailbox [style="dashed" label="got_mailbox"]
|
2017-03-17 23:50:37 +00:00
|
|
|
Nameplate -> Input [style="dashed" label="got_wordlist"]
|
2017-02-16 01:46:28 +00:00
|
|
|
|
2017-03-12 12:03:44 +00:00
|
|
|
Mailbox -> Connection [style="dashed" color="red" fontcolor="red"
|
2017-02-26 10:33:14 +00:00
|
|
|
label="tx_open\ntx_add\ntx_close"
|
2017-02-15 20:11:17 +00:00
|
|
|
]
|
|
|
|
Connection -> Mailbox [style="dashed"
|
2017-02-26 10:33:14 +00:00
|
|
|
label="connected\nlost\nrx_message\nrx_closed\nstopped"]
|
2017-02-15 20:11:17 +00:00
|
|
|
|
2017-03-03 14:22:40 +00:00
|
|
|
Connection -> Lister [style="dashed"
|
|
|
|
label="connected\nlost\nrx_nameplates"
|
|
|
|
]
|
|
|
|
Lister -> Connection [style="dashed"
|
|
|
|
label="tx_list"
|
|
|
|
]
|
2017-02-15 20:11:17 +00:00
|
|
|
|
2017-02-22 21:45:18 +00:00
|
|
|
#Boss -> Code [color="blue"]
|
2017-03-12 12:03:44 +00:00
|
|
|
Connection -> Allocator [style="dashed"
|
|
|
|
label="connected\nlost\nrx_allocated"]
|
|
|
|
Allocator -> Connection [style="dashed" color="red" fontcolor="red"
|
|
|
|
label="tx_allocate"
|
|
|
|
]
|
|
|
|
Lister -> Input [style="dashed"
|
|
|
|
label="got_nameplates"
|
|
|
|
]
|
2017-03-03 14:22:40 +00:00
|
|
|
#Code -> Lister [color="blue"]
|
2017-03-12 12:03:44 +00:00
|
|
|
Input -> Lister [style="dashed" color="red" fontcolor="red"
|
2017-03-12 17:38:48 +00:00
|
|
|
label="refresh"
|
2017-03-12 12:03:44 +00:00
|
|
|
]
|
|
|
|
Boss -> Code [style="dashed" color="red" fontcolor="red"
|
|
|
|
label="allocate_code\ninput_code\nset_code"]
|
2017-03-12 17:38:48 +00:00
|
|
|
Code -> Boss [style="dashed" label="got_code"]
|
|
|
|
Code -> Key [style="dashed" label="got_code"]
|
|
|
|
Code -> Nameplate [style="dashed" label="set_nameplate"]
|
2017-02-15 20:11:17 +00:00
|
|
|
|
2017-03-12 12:03:44 +00:00
|
|
|
Code -> Input [style="dashed" color="red" fontcolor="red" label="start"]
|
2017-03-12 17:38:48 +00:00
|
|
|
Input -> Code [style="dashed" label="got_nameplate\nfinished_input"]
|
|
|
|
InputHelperAPI -> Input [label="refresh_nameplates\nget_nameplate_completions\nchoose_nameplate\nget_word_completions\nchoose_words" color="orange" fontcolor="orange"]
|
|
|
|
|
2017-03-12 12:03:44 +00:00
|
|
|
Code -> Allocator [style="dashed" color="red" fontcolor="red"
|
|
|
|
label="allocate"]
|
|
|
|
Allocator -> Code [style="dashed" label="allocated"]
|
|
|
|
|
2017-02-26 10:33:14 +00:00
|
|
|
Nameplate -> Terminator [style="dashed" label="nameplate_done"]
|
|
|
|
Mailbox -> Terminator [style="dashed" label="mailbox_done"]
|
|
|
|
Terminator -> Nameplate [style="dashed" label="close"]
|
|
|
|
Terminator -> Mailbox [style="dashed" label="close"]
|
|
|
|
Terminator -> Connection [style="dashed" label="stop"]
|
|
|
|
Connection -> Terminator [style="dashed" label="stopped"]
|
|
|
|
Terminator -> Boss [style="dashed" label="closed\n(once)"]
|
2017-03-12 12:03:44 +00:00
|
|
|
Boss -> Terminator [style="dashed" color="red" fontcolor="red"
|
|
|
|
label="close"]
|
2017-02-15 20:11:17 +00:00
|
|
|
}
|