src: Implemented swap_node for node_mutation.