excludeEdge

fun excludeEdge(sourceVertex: Vertex, targetVertex: Vertex)

Remove an edge from the graph, from the source vertex to the target vertex. Fail if either vertex is not present in the graph. If there is no such edge in the graph then do nothing.

Parameters

sourceVertex

The source of the edge to exclude.

targetVertex

The target of the edge to exclude.