Thanks for the tip, but it was slightly more complicated than that. I had to disconnect a node (ALT+J) from a few ways and one I couldn't do because I had to undelete a deleted node as well (I found a partial revert easier for that). Normal dragged nodes are easy enough to restore their location without a revert, I agree :)