From 1f3513e1eea571d3b218bec6e98ee4071ef368b7 Mon Sep 17 00:00:00 2001 From: rand00 Date: Fri, 18 Mar 2022 13:15:49 +0100 Subject: [PATCH] Opam_graph: Todo-comment for a more useful sharing-coloring, excluding 'ocaml' + 'dune' from max-value calc --- src/opam_graph.ml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/opam_graph.ml b/src/opam_graph.ml index cb642ed..df36bd1 100644 --- a/src/opam_graph.ml +++ b/src/opam_graph.ml @@ -774,6 +774,9 @@ svg { let make_deps_sharing_css (sharing_stats:assoc_stats) = let max_count = SMap.fold + (*> todo: exclude a certain set of pkgs from being taken into consideration here + .. and remember to limit their following pct-count too + *) (fun _pkg count max_count -> Int.max max_count count) sharing_stats 0 |> float