(--------)
@startuml 'https://plantuml.com/state-diagram scale 350 width [*] --> NotShooting state NotShooting { [*] --> Idle Idle --> Configuring : EvConfig Configuring --> Idle : EvConfig } state Configuring { [*] --> NewValueSelection NewValueSelection --> NewValuePreview : EvNewValue NewValuePreview --> NewValueSelection : EvNewValueRejected NewValuePreview --> NewValueSelection : EvNewValueSaved state NewValuePreview { State1 -> State2 } } database test [ test ] @enduml
If database test is added at the end of the statechart a Syntax Error is raised. If the states are deleted and the file only contains the database it is properly displayed.
Hi all,
Similar to :- https://forum.plantuml.net/17275/composite-state-functionality-with-allow_mixing?show=17275#q17275
Here are some minimal issue examples:
Simple state OK:
@startuml allowmixing state s 'state a { 'state b '} database test @enduml
Nested state KO:
@startuml allowmixing state s state a { state b } database test @enduml
Regards.