diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-06-16 16:08:55 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-07-28 12:18:23 +0200 |
commit | 3b5de1b6684f3a166bb4666ffabd31d6b29c0175 (patch) | |
tree | 32caf212194f30fc274374d8d0e254d430e770cf /doc/legend_for_fsm_diagrams.dot | |
parent | 431e085736ba958c5b69c87e401c67f0b322189d (diff) |
doc: update/fix FSM charts
These reflect the plan for refactoring, and will be implemented by
I82e3f918295daa83274a4cf803f046979f284366 and
Id7a4407d9b63be05ce63f5f2768b7d7e3d5c86fb
Change-Id: I29e31b753e23a4207662e0e385a337e7df836f45
Diffstat (limited to 'doc/legend_for_fsm_diagrams.dot')
-rw-r--r-- | doc/legend_for_fsm_diagrams.dot | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/legend_for_fsm_diagrams.dot b/doc/legend_for_fsm_diagrams.dot new file mode 100644 index 000000000..732a894cd --- /dev/null +++ b/doc/legend_for_fsm_diagrams.dot @@ -0,0 +1,24 @@ +digraph G { +rankdir=TB +labelloc=t; label="LEGEND FOR FSM GRAPHS" + + box [label="function_call()\nputs FSM into state",shape="box"] + STATE [label="FSM_STATE"] + STATE2 [label="FSM_STATE"] + STATE3 [label="FSM_STATE"] + box -> STATE + STATE -> STATE2 [label="state transition"] + STATE2 -> STATE3 + + STATE -> STATE3 [label="transition\non error",style=dashed] + + other [label="other FSM\ninstance\nor remote program",shape=box3d] + STATE2 -> other [label="event",style=dotted] + other -> STATE2 [label="event",style=dotted] + + terminate [shape=octagon] + STATE3 -> terminate + + err [label="common error\ntransition",shape=box,style=dashed] + err -> STATE3 [style=dashed] +} |