GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoSubGraph Class / ComputeInsideMarginsSkip Method
In This Topic
    ComputeInsideMarginsSkip Method
    In This Topic
    This method is called by ComputeInsideMargins to see if a given child of this group should be ignored.
    Syntax
    protected virtual bool ComputeInsideMarginsSkip( 
       GoObject child
    )

    Parameters

    child

    Return Value

    true for special objects whose position depends on the bounds of all the other children or for those objects that should not affect the size of the subgraph.
    Remarks

    Child objects such as the Handle, Port, an invisible Label or CollapsedObject and invisible links or internal links connected to this subgraph's Port should not be included in the computation of the ComputeInsideMargins method, because they may be outside of the inside area where the child nodes are. Any override of this method to return true for additional objects may also override one of the Layout... methods to make sure those objects are positioned in the desired manner.

    Originally this method was called from ComputeBounds, but we no longer tie the Bounds with the bordered area. The latter is now governed by ComputeBorder, which calls ComputeInsideMargins, which calls this method to decide which objects are really part of the subgraph and thus should be inside the border.

    See Also