removeVertex

fun removeVertex(vertex: V)

Remove a vertex from the graph. The vertex must be present. Remove all edges connected to or from this vertex.

Parameters

vertex

The vertex to remove.