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" ] }