Hi,
I have a gosubgraph object which is resizable. gosubgraph has LayoutHandle() and LayoutLabel() overridden to position handle and label in the top left of the subgraph rectangle. When user resizes the subgraph by dragging the sides of the subgraph background rectangle, rectangle size changes but ComputeBorder() functions returns old bounds of the subgraph. It seems that ComputeBorder() only returns correct size when subgraph autorescale itself when nodes within sungraph moves. I noticed that DoResize() is only called when user changes the subgraph size.
Question:
- How do I get Subgraph border syncronized with rectangle border when user resizes the background rectangle of the subgraph?