If I define two components C1/C2 they are rendered in the order of their definition:
@startuml
[C1]
[C2]
@enduml
If I define two components C1/C2 in another object like a rectangle, their order is reversed. However, I can fix this with a (hidden) link:
@startuml
rectangle {
[C1]
[C2]
C1 -> C2
}
@enduml
What I can't fix is the order of two rectangles with content in another one (I want R1 before R2). The only thing thats changing when I put a link between R1 and R2 or C1 and C2 is a weird link leftwards:
@startuml
rectangle {
rectangle R1 {
[C1]
}
rectangle R2 {
[C2]
}
R1 -> R2
}
@enduml
http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuIfAJIv9p4lFILMevb800WG_o10a10NHpeQnO4ujkYeZ55L6IAf09kZQ0LLmrN8vfEQb0Aq30000
How can I get R1 left of R2 without changing the order of definition?