I’d like each node in a subgraph to be notified whenever it’s relativeposition to the subgraph has changed. This can occur when the node moves (I already handle this case correctly), the subgraph is resized manually (A), or automatically by moving another node in the subgraph (B).
I tried to override the following member functions of the subgraph :
- DoResize : Works only for A
- OnBoundsChanged : Works only for B
- Bounds.set : Works for A and B, but much to many notifications. I’d like to be notified when the move is finished, not while it is happening.
Do you have any suggestion ?
Should I change the tools ?