`functor (G : Graph.Graphviz.GraphWithDotAttrs) ->
sig
module HV :
sig
type key = G.V.t
type 'a t
val create : int -> 'a t
val clear : 'a t -> unit
val copy : 'a t -> 'a t
val add : 'a t -> key -> 'a -> unit
val remove : 'a t -> key -> unit
val find : 'a t -> key -> 'a
val find_all : 'a t -> key -> 'a list
val replace : 'a t -> key -> 'a -> unit
val mem : 'a t -> key -> bool
val iter : (key -> 'a -> unit) -> 'a t -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val length : 'a t -> int
end
module HE :
sig
type key = G.E.t
type 'a t
val create : int -> 'a t
val clear : 'a t -> unit
val copy : 'a t -> 'a t
val add : 'a t -> key -> 'a -> unit
val remove : 'a t -> key -> unit
val find : 'a t -> key -> 'a
val find_all : 'a t -> key -> 'a list
val replace : 'a t -> key -> 'a -> unit
val mem : 'a t -> key -> bool
val iter : (key -> 'a -> unit) -> 'a t -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val length : 'a t -> int
end
type graph_layout = {
vertex_layouts : XDot.node_layout XDot.Make.HV.t;
edge_layouts : XDot.edge_layout XDot.Make.HE.t;
cluster_layouts : (string, XDot.cluster_layout) Hashtbl.t;
bbox : XDot.bounding_box;
}
exception DotError of string
val layout_of_xdot : xdot_file:string -> G.t -> XDot.Make.graph_layout
val layout_of_dot :
?cmd:string -> dot_file:string -> G.t -> XDot.Make.graph_layout
end`