How to use " sign for outer state name

0 votes
asked May 21, 2019 in Question / help by murakami (160 points)

In the following example code, the outer state uses " sign.
But, I got error "Syntax Error?  Some diagram description contains errors ".
Is there any way to make it also work ? Thank you.

@startuml
    state "outer state"{
        state "inner state"
    }
@enduml

1 Answer

+1 vote
answered May 21, 2019 by Serge Wenger Work (12,800 points)
selected May 21, 2019 by murakami
 
Best answer

@startuml
state "outer state" as Outer { 
        state "inner state" as Inner
}
@enduml

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuG8oIb8LbF9BIrAB5C0S9ON4OWL_CBzQWKi12g3gClFoKDHvWlXSjLmEgNafGEC0

commented May 21, 2019 by murakami (160 points)
Thanks for the clarification.
It works well!
...