Finished drag and drop of egde and vertex