Selecting and Removing of edges