package opam-graph

  1. Overview
  2. Docs

Module Opam_graphSource

Sourceval visualization_version : int

Remember to increment this when anything changes that can affect the visualization, e.g.: * algorithm change * UI change * certain library-dependency changes

Sourceval sprintf : ('a, unit, string) format -> 'a
Sourcemodule OSet = OpamPackage.Set
Sourcemodule Name_set = OpamPackage.Name.Set
Sourceval filtered_formula_to_pkgs : OpamFile.SwitchExport.t -> ?set:Name_set.t -> (Name_set.elt * 'a) OpamFormula.formula -> Name_set.t
Sourcemodule Name_map = OpamPackage.Name.Map
Sourcetype graph = {
  1. nodes : Name_set.t Name_map.t;
  2. top : OpamPackage.Name.t;
}
Sourceval add_node : graph -> Name_map.key -> Name_set.t -> graph
Sourceval pp_graph : Format.formatter -> graph -> unit
Sourceval dependencies : transitive:bool -> OpamFile.SwitchExport.t -> graph
Sourcetype assoc_node = {
  1. name : string;
  2. uniqueness_postfix : string;
}
Sourcetype assoc_graph = (assoc_node * assoc_node list) list
Sourcemodule SMap : sig ... end
Sourcetype assoc_stats = int SMap.t
Sourceval calc_sharing_stats : graph -> assoc_stats
Sourcemodule Ui : sig ... end
Sourcemodule Render : sig ... end
OCaml

Innovation. Community. Security.