summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/graphviz.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphviz.cc b/src/graphviz.cc
index 3dfa716..3ead975 100644
--- a/src/graphviz.cc
+++ b/src/graphviz.cc
@@ -63,6 +63,7 @@ void GraphViz::AddTarget(Node* node) {
void GraphViz::Start() {
printf("digraph ninja {\n");
+ printf("rankdir=\"LR\"\n");
printf("node [fontsize=10, shape=box, height=0.25]\n");
printf("edge [fontsize=10]\n");
}