GoDiagram Win Reference
ComputeBusNodeSpacing Method

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
'Declaration
 
Protected Overridable Function ComputeBusNodeSpacing( _
   ByVal child As GoLayoutTreeNode _
) As Single
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoLayoutTree Class
GoLayoutTree Members
ComputeBusLastRowSpacing Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback