Module type Sig.Graph

module type Graph = sig .. end
Graphs with vertex identifiers of type node.

include Sig.GraphAlgo
val create : ?n:int -> ?m:int -> unit -> t
type node 
val vertex : t -> node -> vertex
val node : t -> vertex -> node
val add_node : t -> node -> unit
val add_edge : t -> node -> node -> unit
Nodes are added if not prsent.
val iter_edges : (node -> node -> unit) -> t -> unit