I found a few people have asking this, but I haven't found a good answer.
So my custom tool nodes can be dragged over each other in the editor to "connect" them. Now, when I delete one, I want the other nodes to forget it.
Some things I've tried so far:
NOTIFICATION_PREDELETE:
Not called. Nodes aren't actually freed when deleted in editor. https://github.com/godotengine/godot/issues/84366tree_exited signal:
Not enough as is. Covers node deletion, but also many other cases, like changing scene tabs. If I there's some additional "deleted in the editor" status that I can check, this would work.
Any ideas?