Skip to content

Commit

Permalink
Use the state images in the readme file
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hlovdal committed Apr 26, 2023
1 parent 4ea44d0 commit b44786f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/elevator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ each other:
- State: Moving
- State: Panic

![Elevator states](./elevator_state.png)

2. Motor
- State: Stopped
- State: Up
- State: Down

![Machine states](./machine_state.png)

A good state machine design avoids circular dependencies at all
cost: While the elevator sends events to the motor, the motor NEVER
Expand Down
Binary file added examples/elevator/elevator_state.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/elevator/machine_state.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b44786f

Please sign in to comment.