GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoBasicNode Class / LayoutChildren Method
In This Topic
    LayoutChildren Method (GoBasicNode)
    In This Topic
    The port is centered in the Shape; the Label is positioned according to LabelSpot relative to the shape.
    Syntax
    public override void LayoutChildren( 
       GoObject childchanged
    )

    Parameters

    childchanged
    Remarks
    When the LabelSpot is GoObject.Middle and AutoResizes is true, we automatically resize the shape to be somewhat larger than the label, and we size the port to be the same size as the shape. If AutoResizes is false, the Label is resized to fit within the Shape's bounds minus the margins. Also the Label's GoText.WrappingWidth is set to the same value as the label's width. When the LabelSpot is not GoObject.Middle, the label is just positioned relative to the Shape according to the LabelSpot. This method does nothing if there is no Shape.
    See Also