GoDiagram Win Reference
LinkLengthWeight Method

The function LinkLengthWeight returns the weight of the link represented by the GoLayoutLayeredDigraphLink link. This weight is used by OptimalLinkLengthLayering to minimize weighted link lengths. The default implementation gives all links a length weight of 1. This function can be overridden to provide "fine-tuning" of the layout.
Syntax
'Declaration
 
Protected Overridable Function LinkLengthWeight( _
   ByVal link As GoLayoutLayeredDigraphLink _
) As Single
protected virtual float LinkLengthWeight( 
   GoLayoutLayeredDigraphLink link
)

Parameters

link

Return Value

Returns the weight of the link represented by link
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

GoLayoutLayeredDigraph Class
GoLayoutLayeredDigraph Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback