public Graph < K , VV , EV > removeEdges ( List < Edge < K , EV > > edgesToBeRemoved ) { DataSet < Edge < K , EV > > newEdges = getEdges ( ) . coGroup ( this . context . fromCollection ( edgesToBeRemoved ) ) . where ( 0 , 1 ) . equalTo ( 0 , 1 ) . with ( new EdgeRemovalCoGroup <> ( ) ) . name ( "Remove edges" ) ; return new Graph <> ( this . vertices , newEdges , context ) ; }
Removes all the edges that match the edges in the given data set from the graph .