del_edges/4

del_edges(+ Graph, + Edges, - NewGraph)*

Unify NewGraph with a new graph obtained by removing the list of edges Edges from the graph Graph. Notice that no vertices are deleted. In the next example:


 ?- del_edges([1-[3,5],2-[4],3-[],4-[5],5-[],
 6-[],7-[],8-[]],
 [1-6,2-3,3-2,5-7,3-2,4-5,1-3],NL).

 NL = [1-[5],2-[4],3-[],4-[],5-[],6-[],7-[],8-[]]