Components alignment (horizontally)

0 votes
asked Oct 7, 2016 in To be sorted by cgoguyer (400 points)
Hello, is there a was to align vertically components.

I'd like to have CMP1 and CPM 2 align horizontally at the left of CMP3 and CMP4 and CPM 5 also align horizontally at the rigth of CMP3.

But when I do this all component are align vertically on the sane line!

@startuml
[CMP1]
[CMP2]
[CMP3]
[CMP4]
[CMP5]

[CMP1]-r->[CMP3]
[CMP2]-r->[CMP3]
[CMP3]-r->[CMP4]
[CMP3]-r->[CMP5]
@enduml

1 Answer

0 votes
answered Sep 21, 2018 by sakhinov (140 points)

@startuml
left to right direction
 [CMP1]
 [CMP2]
 [CMP3]
 [CMP4]
 [CMP5]

 [CMP1]-->[CMP3]
 [CMP2]-->[CMP3]
 [CMP3]-->[CMP4]
 [CMP3]-->[CMP5]
@enduml

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

...