Added the possibilty to remove edge