UndoManager history node information

I don’t understand what you are trying to accumulate. What if multiple nodes have been modified within a single transaction?