Skip to content

Commit 6f0b810

Browse files
committed
Use the state images in the readme file
Also checking in the generated png files to make 1. the images avaliable to be rendered on github page. 2. graphviz a soft dependency only necessary if you modify the dot files.
1 parent 3f88944 commit 6f0b810

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

examples/elevator/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ each other:
2828
- State: Moving
2929
- State: Panic
3030

31+
![Elevator states](./elevator_state.png)
32+
3133
2. Motor
3234
- State: Stopped
3335
- State: Up
3436
- State: Down
3537

36-
37-
[insert ascii-art here]
38+
![Machine states](./machine_state.png)
3839

3940
A good state machine design avoids circular dependencies at all
4041
cost: While the elevator sends events to the motor, the motor NEVER
26.5 KB
Loading
44.8 KB
Loading

0 commit comments

Comments
 (0)