You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+80-5
Original file line number
Diff line number
Diff line change
@@ -1415,7 +1415,80 @@ Additional Keywords:
1415
1415
-`show_auto_transitions` (default False): Shows auto transitions in graph
1416
1416
-`show_state_attributes` (default False): Show callbacks (enter, exit), tags and timeouts in graph
1417
1417
1418
-
Transitions can generate basic state diagrams displaying all valid transitions between states. To use the graphing functionality, you'll need to have `graphviz` and/or `pygraphviz` installed:
1418
+
Transitions can generate basic state diagrams displaying all valid transitions between states.
1419
+
The basic diagram support generates a [mermaid](https://mermaid.js.org) state machine definition which can be used with mermaid's [live editor](https://mermaid.live), in markdown files in GitLab or GitHub and other web services.
1420
+
For instance, this code:
1421
+
```python
1422
+
from transitions.extensions.diagrams import HierarchicalGraphMachine
0 commit comments