<<expansionInput>> and <<expansionOutput>> stereotypes are used to add expansion points.
expansionPoints.txt
@startuml
left to right direction
state MyState{
state state1
state state2
state state3
state entry1 <<expansionInput>>
state entry2 <<expansionInput>>
state exit1 <<expansionOutput>>
}
[*] --> entry1
start --> entry2
entry1 --> state1
entry2 --> state2
state1 --> state3
state2 --> state3
state3 --> exit1
exit1 --> [*]
@enduml
Above snippet generate below diagram.
Previous Next Home

No comments:
Post a Comment