applyNodeChanges() - React Flow