GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutTree Class / ComputeBusLastRowSpacing Method
the length of the central line (spine) separating the two sides, so far, excluding the initial GoLayoutTreeNode.NodeSpacing that extends from the parent's spine
In This Topic
    ComputeBusLastRowSpacing Method
    In This Topic
    Get the amount of space to leave between the sibling child vertexes and this last odd vertex when the parent's GoLayoutTreeNode.Alignment is Bus or BusBranching.
    Syntax
    protected virtual float ComputeBusLastRowSpacing( 
       GoLayoutTreeNode lastchild,
       float dist
    )

    Parameters

    lastchild
    dist
    the length of the central line (spine) separating the two sides, so far, excluding the initial GoLayoutTreeNode.NodeSpacing that extends from the parent's spine

    Return Value

    By default this returns the parent's GoLayoutTreeNode.RowSpacing; a negative value may cause node overlaps
    Remarks
    This function is called only when there is an odd number of child vertexes and at least 3. This function is not called when the parent vertex only has one child. In that case there is no spine separating two columns of child vertexes.
    See Also