removeEdges method
Removes edges (connections) pointing from vertex
to connectedVertices
.
- Note: Does not remove the vertices.
Implementation
void removeEdges(T vertex, Set<T> connectedVertices) {
_edges[vertex]?.removeAll(connectedVertices);
updateCache();
}