removeEdge method
Implementation
@override
void removeEdge(Node parent, Node child) {
if (!_subtreeNodes.contains(parent) || !_subtreeNodes.contains(child)) {
throw StateError('One or both nodes are not in the subtree');
}
originalGraph.removeEdge(parent, child);
}