2017-02-15 20:19:39 +00:00
|
|
|
digraph {
|
|
|
|
|
2017-02-19 19:26:11 +00:00
|
|
|
start [label="Wormhole Code\nMachine" style="dotted"]
|
|
|
|
{rank=same; start S0}
|
2017-02-19 19:31:49 +00:00
|
|
|
{rank=same; P0_list_nameplates P0_allocate}
|
2017-02-19 19:26:11 +00:00
|
|
|
{rank=same; S1 S2}
|
2017-02-19 19:31:49 +00:00
|
|
|
{rank=same; S3 P1_generate}
|
2017-02-19 19:26:11 +00:00
|
|
|
start -> S0 [style="invis"]
|
|
|
|
S0 [label="S0:\nunknown"]
|
2017-02-19 19:31:49 +00:00
|
|
|
S0 -> P0_set_code [label="set"]
|
2017-02-22 21:45:18 +00:00
|
|
|
P0_set_code [shape="box" label="B.set_code"]
|
2017-02-19 19:31:49 +00:00
|
|
|
P0_set_code -> S4
|
|
|
|
S4 [label="S4: known" color="green"]
|
2017-02-15 20:19:39 +00:00
|
|
|
|
2017-02-19 19:31:49 +00:00
|
|
|
S0 -> P0_list_nameplates [label="input"]
|
2017-02-19 19:26:11 +00:00
|
|
|
S2 [label="S2: typing\nnameplate"]
|
2017-02-15 20:19:39 +00:00
|
|
|
|
2017-02-19 19:31:49 +00:00
|
|
|
S2 -> P2_completion [label="<tab>"]
|
|
|
|
P2_completion [shape="box" label="do completion"]
|
|
|
|
P2_completion -> P0_list_nameplates
|
|
|
|
P0_list_nameplates [shape="box" label="NL.refresh_nameplates"]
|
|
|
|
P0_list_nameplates -> S2
|
2017-02-15 20:19:39 +00:00
|
|
|
|
2017-02-19 19:31:49 +00:00
|
|
|
S2 -> P2_got_nameplates [label="got_nameplates"]
|
|
|
|
P2_got_nameplates [shape="box" label="stash nameplates\nfor completion"]
|
|
|
|
P2_got_nameplates -> S2
|
2017-02-22 01:56:32 +00:00
|
|
|
S2 -> P2_finish [label="<hyphen>" color="orange" fontcolor="orange"]
|
2017-02-19 19:31:49 +00:00
|
|
|
P2_finish [shape="box" label="lookup wordlist\nfor completion"]
|
|
|
|
P2_finish -> S3
|
2017-02-19 19:26:11 +00:00
|
|
|
S3 [label="S3: typing\ncode"]
|
2017-02-19 19:31:49 +00:00
|
|
|
S3 -> P3_completion [label="<tab>"]
|
|
|
|
P3_completion [shape="box" label="do completion"]
|
|
|
|
P3_completion -> S3
|
2017-02-15 20:19:39 +00:00
|
|
|
|
2017-02-19 19:31:49 +00:00
|
|
|
S3 -> P0_set_code [label="<return>"
|
2017-02-22 01:56:32 +00:00
|
|
|
color="orange" fontcolor="orange"]
|
2017-02-15 20:19:39 +00:00
|
|
|
|
2017-02-19 19:31:49 +00:00
|
|
|
S0 -> P0_allocate [label="allocate"]
|
2017-02-22 02:15:47 +00:00
|
|
|
P0_allocate [shape="box" label="RC.tx_allocate"]
|
2017-02-19 19:31:49 +00:00
|
|
|
P0_allocate -> S1
|
2017-02-19 19:26:11 +00:00
|
|
|
S1 [label="S1:\nallocating"]
|
2017-02-19 19:31:49 +00:00
|
|
|
S1 -> P1_generate [label="rx_allocated"]
|
|
|
|
P1_generate [shape="box" label="generate\nrandom code"]
|
|
|
|
P1_generate -> P0_set_code
|
2017-02-15 20:19:39 +00:00
|
|
|
|
|
|
|
}
|