i try to use yFiles 2 to create a graph with multiple feature. Actually we have something witch work but we lot of behaviours overriding the yworks standard and we want better used it.
We 2 main feature witch cause problems :
- no overlaping between our nodes.
- a hierachy of node where parent element can be resized but when border intersect with child element we try (if no overlapping) to move it inside his parent.
The idea is too better integrate yworks to benefit standard feature. for example, use standard layout manager and not our one. Today, we are overriding setSize and setLocation.
I think there is many way to do this. My ideas are :
- use override HotSpotMode (updateNodeRealizerBounds) in EditMode.
- or override the NodeLayout Is it the good way ? Is there a better way ?
Thanks for any help!