magic-wormhole/docs/machines.dot
Brian Warner 44cc1399c4 make mailbox/mailbox_close/machines consistent
finally get mailbox.png layout good enough
2017-04-06 12:21:00 -07:00

43 lines
1.7 KiB
Plaintext

digraph {
Wormhole [shape="box" label="Wormhole\n(manager)"
color="blue" fontcolor="blue"]
Mailbox [shape="box" color="blue" fontcolor="blue"]
Connection [shape="oval" color="blue" fontcolor="blue"]
websocket [shape="oval" color="blue" fontcolor="blue"]
Nameplates [shape="box" label="Nameplate\nLister"
color="blue" fontcolor="blue"]
Connection -> websocket [color="blue"]
Wormhole -> Mailbox [style="dashed"
label="set_nameplate\nadd_message\nclose"
]
Wormhole -> Mailbox [color="blue"]
Mailbox -> Wormhole [style="dashed"
label="got_message\nclosed"
]
Mailbox -> Connection [style="dashed"
label="tx_claim\ntx_open\ntx_add\ntx_release\ntx_close\nstop"
]
Mailbox -> Connection [color="blue"]
Connection -> Mailbox [style="dashed"
label="connected\nlost\nrx_claimed\nrx_message\nrx_released\nrx_closed\nstopped"]
Wormhole -> Nameplates [style="dashed"
label="refresh_nameplates"
]
Wormhole -> Nameplates [color="blue"]
Nameplates -> Wormhole [style="dashed"
label="got_nameplates"
]
Connection -> Nameplates [style="dashed"
label="connected\nlost\nrx_nameplates"
]
Nameplates -> Connection [style="dashed"
label="tx_list"
]
}