Added a variant of the graph.removeEdge method