72

I've made a tree in the dot language, similar to the one here.

Is there any way I could get the tree to expand to the right, instead of downwards (so the root node is on the left and children go along to the right).

CapelliC
  • 59,646
  • 5
  • 47
  • 90
Peter
  • 1,381
  • 2
  • 13
  • 24

1 Answers1

117

it's very easy, as long as you stick to basic layout: place rankdir="LR" near top definition. Something like

digraph unix {
  size="6,6";
  rankdir="LR";
  ...
}
CapelliC
  • 59,646
  • 5
  • 47
  • 90