Skip to content

Commit

Permalink
Add StateMachine block to export output
Browse files Browse the repository at this point in the history
  • Loading branch information
nsk90 committed Sep 3, 2024
1 parent b98d9cf commit cbb7043
Show file tree
Hide file tree
Showing 2 changed files with 206 additions and 135 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ internal class ExportPlantUmlVisitor(
MERMAID -> line("stateDiagram-v2")
}

line("state ${machine.labelGraphName()} {")
++indent
processStateBody(machine)
--indent
line("}")

crossLevelTransitions.forEach { line(it) }

if (format == PLANT_UML)
Expand Down
Loading

0 comments on commit cbb7043

Please sign in to comment.