Components alignment left to rigth (vertical)

0 votes
asked Nov 23, 2016 in Closed question / help by cgoguyer (400 points)
edited Nov 23, 2016 by cgoguyer
Hi,

How to align components left to rigth with also vertical alignment:

when I do

@startuml
[A]
[B]
[C]
[D]
[E]
[F]

A->D
B->D
C->D
D->E
D->F
@enduml

http://www.plantuml.com/plantuml/png/YtQCvOfs0c9d87O1ObSWTelbudBKjNFXSW8HpY32HTVE5KIu0G00

I get: all component on the same row

but I would like to have the A,B,C in the same colunm then D and E,F on the same column

Thx

(btw: how to insert an screenshot in the message ?)

1 Answer

0 votes
answered Nov 23, 2016 by plantuml (295,000 points)
selected Nov 23, 2016 by cgoguyer
 
Best answer

Hi,

We are facing some Graphviz/Dot limitation here.

You can use the "left to right direction" feature:

@startuml
left to right direction
[A]
[B]
[C]
[D]
[E]
[F]

A-->D
B-->D
C-->D
D-->E
D-->F
@enduml

I don't know if this is a possible solution for you

commented Nov 23, 2016 by cgoguyer (400 points)
Yes, great, just what I wanted.
Thank you.
...