Added drag and drop functionality to nodes.