X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mtp.git;a=blobdiff_plain;f=mtp_graph.cc;h=95ef485d5166579153e68209dd90a97ab5b1b76c;hp=473d13ecb5a99bf6ec713fc9aca3500591ed3bbd;hb=342c65f1c9deda8de361227afe26c7cd8b46d7c2;hpb=0b897c5e246862e9c9d46b319bcfe73fcd819460 diff --git a/mtp_graph.cc b/mtp_graph.cc index 473d13e..95ef485 100644 --- a/mtp_graph.cc +++ b/mtp_graph.cc @@ -153,6 +153,7 @@ void MTPGraph::print(ostream *os) { void MTPGraph::print_dot(ostream *os) { (*os) << "digraph {" << endl; + (*os) << " rankdir=\"LR\";" << endl; (*os) << " node [shape=circle,width=0.75,fixedsize=true];" << endl; (*os) << " edge [color=gray,arrowhead=open]" << endl; (*os) << " " << _source->id << " [peripheries=2];" << endl;