exportToPlantUml
suspend fun StateMachine.exportToPlantUml(showEventLabels: Boolean = false, unsafeCallConditionalLambdas: Boolean = false): String
Export StateMachine to PlantUML state diagram
See also
showEventLabels prints event types for transitions unsafeCallConditionalLambdas will call conditional lambdas which can touch application data, this may give more complete output, but may be not safe.