protected virtual void CollapseChild( GoObject child, RectangleF sgrect )
Parameters
- child
- sgrect
- the expected bounds of the collapsed subgraph, without the collapsed margin
protected virtual void CollapseChild( GoObject child, RectangleF sgrect )
Child subgraphs are collapsed first, of course, and if they had been expanded, their WasExpanded property is set to true. If the child object has a SelectionObject, that is centered; otherwise the whole child is centered.
You may want to override this method in order to customize the sizing of child objects when the subgraph is collapsed. If you do this, you will also want to override ExpandChild to restore the original size, as saved in the SavedBounds hash table.