2 # from [8ae6c9bb70bbf9fd80e4e62d9f162ac581619b9e]
3 # to [05aa88921481ac9bfe238daeb4374fbc9993caaa]
5 ============================================================
6 --- a/agraph.ml 8ae6c9bb70bbf9fd80e4e62d9f162ac581619b9e
7 +++ b/agraph.ml 05aa88921481ac9bfe238daeb4374fbc9993caaa
8 @@ -50,8 +50,9 @@ let dot_format params agraph =
11 !+ "digraph \"monotone-viz\"\n{\n" ;
12 - if params.lr_layout then
13 - !+ " graph [rankdir=LR] ;\n" ;
15 + then !+ " graph [rankdir=LR] ;\n"
16 + else !+ " graph [rankdir=BT] ;\n" ;
17 !+ " graph [ranksep=\"0.25\"] ;\n" ;
18 !+ " node [label=\"\"] ;\n" ;
20 @@ -222,11 +223,11 @@ let spawn_dot graph status done_cb =
21 let dot_prg = graph.layout_params.dot_program in
23 if Viz_misc.debug "dot"
24 - then [ "/bin/sh" ; "-c" ;
25 + then [ "/bin/sh" ; "-c" ;
28 - tee agraph.in.dot | %s -q -y -s%.0f | tee agraph.out.dot" dot_prg ppi ]
29 - else [ dot_prg ; "-q" ; "-y" ; Printf.sprintf "-s%.0f" ppi ] in
30 + tee agraph.in.dot | %s -q -s%.0f | tee agraph.out.dot" dot_prg ppi ]
31 + else [ dot_prg ; "-q" ; Printf.sprintf "-s%.0f" ppi ] in
33 Printf.kprintf (fun s -> done_cb (`LAYOUT_ERROR s)) fmt in