sig
  module PkgV :
    sig
      type t = Pkg of Cudf.package | Or of (Cudf.package * int)
      val compare :
        Defaultgraphs.SyntacticDependencyGraph.PkgV.t ->
        Defaultgraphs.SyntacticDependencyGraph.PkgV.t -> int
      val hash : Defaultgraphs.SyntacticDependencyGraph.PkgV.t -> int
      val equal :
        Defaultgraphs.SyntacticDependencyGraph.PkgV.t ->
        Defaultgraphs.SyntacticDependencyGraph.PkgV.t -> bool
    end
  module PkgE :
    sig
      type t = OrDepends | DirDepends | Conflict
      val compare : '-> '-> int
      val hash : '-> int
      val equal : '-> '-> bool
      val default : Defaultgraphs.SyntacticDependencyGraph.PkgE.t
    end
  module G :
    sig
      type t =
          Graph.Imperative.Digraph.ConcreteBidirectionalLabeled(PkgV)(PkgE).t
      module V :
        sig
          type t = PkgV.t
          val compare : t -> t -> int
          val hash : t -> int
          val equal : t -> t -> bool
          type label = PkgV.t
          val create : label -> t
          val label : t -> label
        end
      type vertex = V.t
      module E :
        sig
          type t = PkgV.t * PkgE.t * PkgV.t
          val compare : t -> t -> int
          type vertex = vertex
          val src : t -> vertex
          val dst : t -> vertex
          type label = PkgE.t
          val create : vertex -> label -> vertex -> t
          val label : t -> label
        end
      type edge = E.t
      val is_directed : bool
      val is_empty : t -> bool
      val nb_vertex : t -> int
      val nb_edges : t -> int
      val out_degree : t -> vertex -> int
      val in_degree : t -> vertex -> int
      val mem_vertex : t -> vertex -> bool
      val mem_edge : t -> vertex -> vertex -> bool
      val mem_edge_e : t -> edge -> bool
      val find_edge : t -> vertex -> vertex -> edge
      val find_all_edges : t -> vertex -> vertex -> edge list
      val succ : t -> vertex -> vertex list
      val pred : t -> vertex -> vertex list
      val succ_e : t -> vertex -> edge list
      val pred_e : t -> vertex -> edge list
      val iter_vertex : (vertex -> unit) -> t -> unit
      val fold_vertex : (vertex -> '-> 'a) -> t -> '-> 'a
      val iter_edges : (vertex -> vertex -> unit) -> t -> unit
      val fold_edges : (vertex -> vertex -> '-> 'a) -> t -> '-> 'a
      val iter_edges_e : (edge -> unit) -> t -> unit
      val fold_edges_e : (edge -> '-> 'a) -> t -> '-> 'a
      val map_vertex : (vertex -> vertex) -> t -> t
      val iter_succ : (vertex -> unit) -> t -> vertex -> unit
      val iter_pred : (vertex -> unit) -> t -> vertex -> unit
      val fold_succ : (vertex -> '-> 'a) -> t -> vertex -> '-> 'a
      val fold_pred : (vertex -> '-> 'a) -> t -> vertex -> '-> 'a
      val iter_succ_e : (edge -> unit) -> t -> vertex -> unit
      val fold_succ_e : (edge -> '-> 'a) -> t -> vertex -> '-> 'a
      val iter_pred_e : (edge -> unit) -> t -> vertex -> unit
      val fold_pred_e : (edge -> '-> 'a) -> t -> vertex -> '-> 'a
      val create : ?size:int -> unit -> t
      val clear : t -> unit
      val copy : t -> t
      val add_vertex : t -> vertex -> unit
      val remove_vertex : t -> vertex -> unit
      val add_edge : t -> vertex -> vertex -> unit
      val add_edge_e : t -> edge -> unit
      val remove_edge : t -> vertex -> vertex -> unit
      val remove_edge_e : t -> edge -> unit
    end
  val string_of_vertex :
    Defaultgraphs.SyntacticDependencyGraph.G.V.t -> string
  val string_of_edge : Defaultgraphs.SyntacticDependencyGraph.G.E.t -> string
  module Display :
    sig
      type t =
          Graph.Imperative.Digraph.ConcreteBidirectionalLabeled(PkgV)(PkgE).t
      module V :
        sig
          type t = PkgV.t
          val compare : t -> t -> int
          val hash : t -> int
          val equal : t -> t -> bool
          type label = PkgV.t
          val create : label -> t
          val label : t -> label
        end
      type vertex = V.t
      module E :
        sig
          type t = PkgV.t * PkgE.t * PkgV.t
          val compare : t -> t -> int
          type vertex = vertex
          val src : t -> vertex
          val dst : t -> vertex
          type label = PkgE.t
          val create : vertex -> label -> vertex -> t
          val label : t -> label
        end
      type edge = E.t
      val is_directed : bool
      val is_empty : t -> bool
      val nb_vertex : t -> int
      val nb_edges : t -> int
      val out_degree : t -> vertex -> int
      val in_degree : t -> vertex -> int
      val mem_vertex : t -> vertex -> bool
      val mem_edge : t -> vertex -> vertex -> bool
      val mem_edge_e : t -> edge -> bool
      val find_edge : t -> vertex -> vertex -> edge
      val find_all_edges : t -> vertex -> vertex -> edge list
      val succ : t -> vertex -> vertex list
      val pred : t -> vertex -> vertex list
      val succ_e : t -> vertex -> edge list
      val pred_e : t -> vertex -> edge list
      val iter_vertex : (vertex -> unit) -> t -> unit
      val fold_vertex : (vertex -> '-> 'a) -> t -> '-> 'a
      val iter_edges : (vertex -> vertex -> unit) -> t -> unit
      val fold_edges : (vertex -> vertex -> '-> 'a) -> t -> '-> 'a
      val iter_edges_e : (edge -> unit) -> t -> unit
      val fold_edges_e : (edge -> '-> 'a) -> t -> '-> 'a
      val map_vertex : (vertex -> vertex) -> t -> t
      val iter_succ : (vertex -> unit) -> t -> vertex -> unit
      val iter_pred : (vertex -> unit) -> t -> vertex -> unit
      val fold_succ : (vertex -> '-> 'a) -> t -> vertex -> '-> 'a
      val fold_pred : (vertex -> '-> 'a) -> t -> vertex -> '-> 'a
      val iter_succ_e : (edge -> unit) -> t -> vertex -> unit
      val fold_succ_e : (edge -> '-> 'a) -> t -> vertex -> '-> 'a
      val iter_pred_e : (edge -> unit) -> t -> vertex -> unit
      val fold_pred_e : (edge -> '-> 'a) -> t -> vertex -> '-> 'a
      val create : ?size:int -> unit -> t
      val clear : t -> unit
      val copy : t -> t
      val add_vertex : t -> vertex -> unit
      val remove_vertex : t -> vertex -> unit
      val add_edge : t -> vertex -> vertex -> unit
      val add_edge_e : t -> edge -> unit
      val remove_edge : t -> vertex -> vertex -> unit
      val remove_edge_e : t -> edge -> unit
      val vertex_name :
        Defaultgraphs.SyntacticDependencyGraph.G.V.t -> string
      val graph_attributes : '-> [> `Rankdir of [> `LeftToRight ] ] list
      val get_subgraph : '-> 'b option
      val default_edge_attributes : '-> 'b list
      val default_vertex_attributes : '-> [> `Shape of [> `Box ] ] list
      val vertex_attributes :
        Defaultgraphs.SyntacticDependencyGraph.G.V.t ->
        [> `Color of int | `Label of string | `Shape of [> `Diamond ] ] list
      val edge_attributes :
        Defaultgraphs.SyntacticDependencyGraph.G.E.t ->
        [> `Color of int | `Label of string | `Style of [> `Dashed | `Solid ] ]
        list
    end
  module D :
    sig
      val fprint_graph : Format.formatter -> Display.t -> unit
      val output_graph : out_channel -> Display.t -> unit
    end
  module S :
    sig
      type elt = PkgV.t
      type t = Set.Make(PkgV).t
      val empty : t
      val is_empty : t -> bool
      val mem : elt -> t -> bool
      val add : elt -> t -> t
      val singleton : elt -> t
      val remove : elt -> t -> t
      val union : t -> t -> t
      val inter : t -> t -> t
      val diff : t -> t -> t
      val compare : t -> t -> int
      val equal : t -> t -> bool
      val subset : t -> t -> bool
      val iter : (elt -> unit) -> t -> unit
      val fold : (elt -> '-> 'a) -> t -> '-> 'a
      val for_all : (elt -> bool) -> t -> bool
      val exists : (elt -> bool) -> t -> bool
      val filter : (elt -> bool) -> t -> t
      val partition : (elt -> bool) -> t -> t * t
      val cardinal : t -> int
      val elements : t -> elt list
      val min_elt : t -> elt
      val max_elt : t -> elt
      val choose : t -> elt
      val split : elt -> t -> t * bool * t
    end
  val depgraphbar : Common.Util.Progress.t
  val dependency_graph :
    Cudf.universe -> Defaultgraphs.SyntacticDependencyGraph.G.t
end