Deleting duplicated edge data