added delete edge function

only when Edit Edges option is selected, can delete edge by selecting
two nodes