Commit cb17aef2 authored by erwan's avatar erwan
Browse files

fix: Add arrow back in dot visu for directed graphs

parent a1a021df
Pipeline #84359 passed with stages
in 3 minutes and 35 seconds
......@@ -160,9 +160,11 @@ let to_pdf engine par_var only_parent rn g f e =
(fun n ->
let l = g.succ in
List.mapi (fun i t ->
if is_parent "par" i e then
if g.directed then
Printf.sprintf "%s -> %s" t
else if is_parent "par" i e then
Printf.sprintf "%s -> %s" t
else if < t then
else if < t then (* to avoid duplication in undir graphs *)
Printf.sprintf "%s -- %s" t
Printf.sprintf "%s -- %s" t
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment