removeIncomingEdges method
void
removeIncomingEdges(
- T vertex
Removes edges ending at vertex
from the graph.
Implementation
void removeIncomingEdges(T vertex) {
if (_edges.containsKey(vertex)) {
for (final connectedVertices in _edges.values) {
connectedVertices.remove(vertex);
}
updateCache();
}
}