Can I order classes vertical?

0 votes
asked Sep 29, 2017 in To be sorted by Dresaan (400 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, 2018 by Anthony-Gaudino (5,720 points)
selected Jan 26, 2018 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, 2018 by Dresaan (400 points)
That's it. Thank you
...