export To Mermaid
suspend fun StateMachine.exportToMermaid(showEventLabels: Boolean = false, unsafeCallConditionalLambdas: Boolean = false): String
Export StateMachine to Mermaid 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 (ClassCastException may be thrown). See ExportMetaInfo for more info.