exciseVertex

fun exciseVertex(vertex: Vertex)

If the given vertex is present in the graph, remove its incoming and outgoing edges, then the vertex itself. If the given vertex is not in the graph, do nothing.

Parameters

vertex

The vertex to excise from the graph, if present.