Correctly print edges in dot backend

The bug was introduced when reversing the direction of edge arrow,
unfortunatley the "node <- node" syntax overlaps with the html label
syntax.
This commit is contained in:
Guillaume Bury 2017-07-24 17:04:12 +02:00
parent 0c99e6b2e7
commit daa30a2b4f

View file

@ -71,7 +71,7 @@ module Make(S : Res.S)(A : Arg with type atom := S.atom
done done
let print_edge fmt i j = let print_edge fmt i j =
Format.fprintf fmt "%s <- %s;@\n" i j Format.fprintf fmt "%s -> %s;@\n" j i
let print_edges fmt n = let print_edges fmt n =
match S.(n.step) with match S.(n.step) with