How make separate composites show down the page instead of left to right

0 votes
asked Nov 20, 2015 in Wanted features by anonymous
When showing separate but related composite states on the same diagram, they stack to the right, but I want them to appear down the diagram. For example, State2 will appear to the right of State1 in this code, instead of below it.

@startuml

state State1 {

[*] -> Start1

}

state State2 {

[*] -> Start2

}

1 Answer

0 votes
answered Dec 3, 2015 by plantuml (294,960 points)

Hi,

This is not perfect, but you can use a hidden link for that:

@startuml
state State1 {
[*] -> Start1
}

state State2 {
[*] -> Start2
}
State1  -[hidden]-> State2
@enduml

...