Skip to content

Commit b44786f

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 4ea44d0 commit b44786f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Diff for: examples/elevator/README.md

+3
Original file line numberDiff line numberDiff line change
@@ -28,11 +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

38+
![Machine states](./machine_state.png)
3639

3740
A good state machine design avoids circular dependencies at all
3841
cost: While the elevator sends events to the motor, the motor NEVER

Diff for: examples/elevator/elevator_state.png

26.5 KB
Loading

Diff for: examples/elevator/machine_state.png

44.8 KB
Loading

0 commit comments

Comments
 (0)