GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutTree Class / ComputeBusNodeSpacing Method
In This Topic
    ComputeBusNodeSpacing Method
    In This Topic
    Get the amount of space to insert between a child vertex and its parent spine when the parent's GoLayoutTreeNode.Alignment is Bus or BusBranching.
    Syntax
    protected virtual float ComputeBusNodeSpacing( 
       GoLayoutTreeNode child
    )

    Parameters

    child

    Return Value

    By default this returns the parent's GoLayoutTreeNode.NodeSpacing; a small value may result in unpleasant routing of links, a negative value may cause node overlaps
    Remarks
    This function is called on each child vertex to determine the initial distance of a child vertex from the spine that connects to its parent vertex. This function is not called on the last odd child, because that vertex is place at the end of the spine rather than to either side.
    See Also