Programmatically adding a new node after another node is dragged

(fyi, a related topic: Programmatically deleting a node after its dragged )