Add ability to undo/redo node dragging.