Parses the active state machine file and generates Mermaid diagrams with hierarchy and transitions for HSMs and FSMs. Diagrams can be previewed, copied to the clipboard, or exported as Markdown.
Usage
Generate Diagram
Open state machine file
Open the command palette
"GEA State Diagram: Generate"
A new view should open with the diagram
Copy Diagram to Clipboard
Open state machine file
Open the command palette
"GEA State Diagram: Copy to Clipboard"
Mermaid source code will be copied to the clipboard
Export Diagram as Markdown
Open state machine file
Open the command palette
"GEA State Diagram: Export as Markdown"
Choose a location and filename in the save dialog
The generated Mermaid diagram will be saved in a Markdown file