Skip to content

Commit

Permalink
Update README.adoc
Browse files Browse the repository at this point in the history
Update section on visualization
  • Loading branch information
corneil authored Nov 22, 2024
1 parent 39c2268 commit 25c0f74
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -301,24 +301,12 @@ dependencies {
}
----

== Simple Visualisation
== Visualisation

By using the StateMachineDefinition created by the DSL we do not have access to the details of guard expressions or actions.
For more information about visualization options use link:https://github.com/open-jumpco/kfsm-viz[kfsm-io.jumpco.open.kfsm.viz]

For more detailed visualization use link:https://github.com/open-jumpco/kfsm-viz[kfsm-io.jumpco.open.kfsm.viz]

[source,kotlin]
----
@Test
fun produceVisualizationTurnstileFSM() {
println("== TurnStile")
val visualization = visualize(TurnstileFSM.definition)
File("generated", "turnstile.plantuml").writeText(plantUml(visualization))
}
----


=== Plantuml
=== Plantuml Examples

==== Turnstile FSM

Expand Down

0 comments on commit 25c0f74

Please sign in to comment.