Added graph dragging