I’m building a dialogue editing system using GraphView, and I’m trying to make it save any changes automatically. To do this I need to detect a bunch of situations, and save in response to them:
Situations I’ve been able to catch:
A node has been added (I’m explicitly adding it in code, so that’s easy)
A node has been deleted (Using DetachFromPanelEvent)
Situations I’m unable to catch:
A node has been moved (dragged).
An Edge has been added.
An Edge has been deleted.
Any tips or info on how I could achieve detecting those is greatly appreciated. I really don’t want to downgrade to a manual saving system as that risks having a lot of work going unsaved by mistake.