Can I order classes vertical?

0 votes
asked Sep 29, 2017 in To be sorted by Dresaan (810 points)
Can I order classes vertical? They always get ordered horiontal.

I tried it with

A -[hidden]down> B

That might change the order but keeps horizontal

1 Answer

0 votes
answered Jan 25 by Anthony-Gaudino (7,550 points)
selected Jan 26 by Dresaan
 
Best answer

If you want to change the order of all classes try the left to right direction, but note that it changes the ranking order from left to right, the default is top to bottom direction.

Using top to bottom direction you must increase the line lenght to increase a Graphviz rank and put the class bellow the other one:

@startuml
class a
class b

a -d-> b
@enduml
commented Jan 26 by Dresaan (810 points)
That's it. Thank you
...