57

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
  • 57,813
  • 4
  • 41
  • 80
Peter
  • 1,169
  • 2
  • 12
  • 24

1 Answers1

91

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
  • 57,813
  • 4
  • 41
  • 80