public Graph < K , VV , EV > removeEdge ( Edge < K , EV > edge ) { DataSet < Edge < K , EV > > newEdges = getEdges ( ) . filter ( new EdgeRemovalEdgeFilter <> ( edge ) ) . name ( "Remove edge" ) ; return new Graph <> ( this . vertices , newEdges , this . context ) ; }
Removes all edges that match the given edge from the graph .