This file generates a flowchart in PNG format from two Markdown tables: The first one specifies the different states and the second one specifies the transitions between states.
Requires Graphviz (https://www.graphviz.org)
Node | Label | Shape | Fill Color |
---|---|---|---|
S_LampNotWorking | Lamp doesn’t work | ellipse | pink |
S_LampPlugged | Lamp plugged in? | diamond | yellow |
S_PlugInLamp | Plug in lamp | ellipse | green |
S_BulbBurnedOut | Bulb burned out? | diamond | yellow |
S_ReplaceBulb | Replace bulb | ellipse | green |
S_RepairLamp | Repair lamp | ellipse | green |
From | To | Edge Label |
---|---|---|
S_LampNotWorking | S_LampPlugged | |
S_LampPlugged | S_PlugInLamp | No |
S_LampPlugged | S_BulbBurnedOut | Yes |
S_BulbBurnedOut | S_ReplaceBulb | Yes |
S_BulbBurnedOut | S_RepairLamp | No |