def remove_edge(self, id1, id2):
for e in list(self.edges):<EOL><INDENT>if id1 in (e.node1.id, e.node2.id) andid2 in (e.node1.id, e.node2.id):<EOL><INDENT>e.node1.links.remove(e.node2)<EOL>e.node2.links.remove(e.node1)<EOL>self.edges.remove(e)<EOL><DEDENT><DEDENT>
Remove edges between nodes with given id's.