magic-wormhole/docs/machines.dot

62 lines
2.4 KiB
Plaintext
Raw Normal View History

2017-02-15 20:11:17 +00:00
digraph {
2017-02-16 01:46:28 +00:00
App [shape="box" color="blue" fontcolor="blue"]
Wormhole [shape="box" label="Wormhole\n(manager)"
color="blue" fontcolor="blue"]
Mailbox [shape="box" color="blue" fontcolor="blue"]
2017-02-16 01:46:28 +00:00
Connection [label="Rendezvous\nConnector"
shape="oval" color="blue" fontcolor="blue"]
websocket [shape="oval" color="blue" fontcolor="blue"]
2017-02-19 19:26:11 +00:00
Code [shape="box" label="Code" color="blue" fontcolor="blue"]
Nameplates [shape="box" label="Nameplate\nLister"
2017-02-16 01:46:28 +00:00
color="blue" fontcolor="blue"
]
2017-02-19 19:26:11 +00:00
{rank=same; Nameplates Code}
Connection -> websocket [color="blue"]
2017-02-16 01:46:28 +00:00
App -> Wormhole [style="dashed" label="set_code\nsend\nclose\n(once)"]
App -> Wormhole [color="blue"]
Wormhole -> App [style="dashed" label="got_verifier\nreceived\nclosed\n(once)"]
Wormhole -> Connection [color="blue"]
2017-02-15 20:11:17 +00:00
Wormhole -> Mailbox [style="dashed"
2017-02-16 01:46:28 +00:00
label="set_nameplate\nadd_message\nclose\n(once)"
2017-02-15 20:11:17 +00:00
]
Wormhole -> Mailbox [color="blue"]
2017-02-15 20:11:17 +00:00
Mailbox -> Wormhole [style="dashed"
2017-02-16 01:46:28 +00:00
label="got_message\nclosed\n(once)"
2017-02-15 20:11:17 +00:00
]
2017-02-16 01:46:28 +00:00
2017-02-15 20:11:17 +00:00
Mailbox -> Connection [style="dashed"
label="tx_claim\ntx_open\ntx_add\ntx_release\ntx_close\nstop"
2017-02-15 20:11:17 +00:00
]
Connection -> Mailbox [style="dashed"
label="connected\nlost\nrx_claimed\nrx_message\nrx_released\nrx_closed\nstopped"]
2017-02-15 20:11:17 +00:00
Connection -> Nameplates [style="dashed"
label="connected\nlost\nrx_nameplates"
2017-02-15 20:11:17 +00:00
]
Nameplates -> Connection [style="dashed"
label="tx_list"
2017-02-15 20:11:17 +00:00
]
2017-02-19 19:26:11 +00:00
Wormhole -> Code [color="blue"]
Code -> Connection [style="dashed"
label="tx_allocate"
]
Connection -> Code [style="dashed"
label="rx_allocated"]
Nameplates -> Code [style="dashed"
label="got_nameplates"
]
Code -> Nameplates [color="blue"]
Code -> Nameplates [style="dashed"
label="refresh_nameplates"
]
2017-02-15 20:11:17 +00:00
}