I'm trying to use composite state functionality with allow_mixing and running into some issues. It appears that you cannot use composite states and allow_mixing at the same time.
For example,
@startuml
state "A" as stateA {
state B
}
@enduml
Renders without issue.
However,
@startuml
allow_mixing
state "A" as stateA {
state B
}
@enduml
Gives a syntax error on line "state "A" as stateA {"
Additionally,
@startuml
allow_mixing
state "A" as stateA
@enduml
Renders without issue.
For context, I am trying to insert a table of conditions/information into a state or conditional of a state diagram. To achieve this, I am trying to mix json data into the diagram, but running into the issue above.
Is there a way to get allow_mixing to work with composite states? Or perhaps I am approaching the way I want to achieve a table/json data inside a state incorrectly?