Class STMMermaidGenerator
java.lang.Object
org.chenile.workflow.puml.STMMermaidGenerator
Generates a Mermaid state diagram for the State Transition Diagram.
This class mirrors the traversal behavior of
STMPlantUmlSDGenerator
without changing the existing PlantUML generator.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate static final Stringprivate final STMFlowStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Stringprivate voidprivate PumlStyler.StyleRulefindMatchingStyle(Map<String, String> metadata) private StringgetDisplayText(String text, Map<String, String> metadata) private booleanprivate StringmetadataValue(Map<String, String> metadata, String key)
-
Field Details
-
MAIN_PATH
- See Also:
-
LABEL
- See Also:
-
START
- See Also:
-
stmFlowStore
-
notOrphaned
-
pumlStyler
-
-
Constructor Details
-
STMMermaidGenerator
-
-
Method Details
-
toStateDiagram
-
findIncomingForAllStates
private void findIncomingForAllStates() -
isInMainPath
-
getDisplayText
-
metadataValue
-
findMatchingStyle
-
escape
-