excludeVertex

fun excludeVertex(vertex: Vertex)

Remove a vertex from the graph, removing any connected edges. Do nothing if the vertex is not in the graph.

Parameters

vertex

The vertex to exclude from the graph.