GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutLayeredDigraph Class / NodeMinColumnSpace Method
whether to return the distance from the GoLayoutGenericNetwork.Node<N,L,Y>.Position to the Center, or from the Center to the bottom or right side of the Bounds
In This Topic
    NodeMinColumnSpace Method
    In This Topic
    The function NodeMinColumnSpace returns the minimum space reserved to either side of this node. The default implementation returns 0 for nodes that do not correspond to top-level Go objects. For nodes that do correspond to top-level Go objects, the column space is determined by the width and height of the object divided by the ColumnSpacing. Note: all sub-classes that override this method should ensure that nodes that do not correspond to top-level Go objects have a minimum column space of 0. This function can be overridden to provide "fine-tuning" of the layout.
    Syntax
    protected virtual int NodeMinColumnSpace( 
       GoLayoutLayeredDigraphNode node,
       bool topleft
    )

    Parameters

    node
    topleft
    whether to return the distance from the GoLayoutGenericNetwork.Node<N,L,Y>.Position to the Center, or from the Center to the bottom or right side of the Bounds

    Return Value

    Returns the minimum space reserved to either side of the center of this node, in units of ColumnSpacing
    See Also