removeEdges method

  1. @override
void removeEdges(
  1. T vertex,
  2. Set<T> connectedVertices
)
override

Removes edges (connections) pointing from vertex to connectedVertices.

  • Note: Does not remove the vertices.

Implementation

@override
void removeEdges(T vertex, Set<T> connectedVertices) {
  super.removeEdges(vertex, connectedVertices);
  for (final connectedVertex in connectedVertices) {
    super.removeEdges(connectedVertex, {vertex});
  }
}