From c985ecc156e27f383e4f29984bd919f0887b7fe2 Mon Sep 17 00:00:00 2001 From: rand00 Date: Wed, 12 Jan 2022 15:59:22 +0100 Subject: [PATCH] Opam_graph: UI: More informative info box on direct deps --- src/opam_graph.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/opam_graph.ml b/src/opam_graph.ml index 5a86600..b567c2d 100644 --- a/src/opam_graph.ml +++ b/src/opam_graph.ml @@ -315,7 +315,8 @@ line { deps_w_positions |> List.map (fun ((dep, pos), layer2_deps) -> let radius = root_radius *. 0.7 and text = - sprintf "%s\nDependencies: %d" + sprintf "Direct dependency: %s\nDependencies: %d" + (*< goto choose between transitive/direct*) dep.name (List.length layer2_deps) and classes = [ dep.name; "direct_dep" ] in make_node ~pos ~radius ~text ~classes