Module Graph__Gmap.Vertex
Provide a mapping function from a mapping of vertices.
Parameters
Signature
val map : (G_Src.V.t -> G_Dst.vertex) -> G_Src.t -> G_Dst.tmap f gappliesfto each vertex ofgand so builds a new graph based ong
val filter_map : (G_Src.V.t -> G_Dst.vertex option) -> G_Src.t -> G_Dst.tfilter_map f gappliesfto each vertex ofgand so builds a new graph based ong; ifNoneis returned byfthe vertex is omitted in the new graph.