Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add state diagrams to elevator example readme file #32

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hlovdal
Copy link

@hlovdal hlovdal commented Feb 6, 2022

Hi. I have created two state diagrams for the readme file.

They are graphical png files though if you actually prefer ascii-art, it is possible to generate at https://dot-to-ascii.ggerganov.com/.

@hlovdal
Copy link
Author

hlovdal commented Feb 7, 2022

You can preview at https://github.com/hlovdal/tinyfsm/tree/elevator_doc/examples/elevator.

hlovdal added 2 commits April 26, 2023 02:28
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.
@A9G-Data-Droid
Copy link

The built-in way to do this in GitHub is Mermaid diagrams:
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-diagrams

Looks very similar to dot-to-ascii but it's a supported language that GitHub renders in readme markdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants