Dragging nodes with edges