Added dragging for nodes.