GoDiagram Win Reference
AssignLayers Method

Assigns every node in the input network to a layer. The layering satisfies the following: if L is a link from node U to node V, then U.layer > V.layer; further, U.layer - V.layer >= LinkMinLength(L). This method can be overridden to customize how nodes are assigned layers.
Syntax
'Declaration
 
Protected Overridable Sub AssignLayers() 
protected virtual void AssignLayers()
Remarks
By default this just calls LongestPathSinkLayering, LongestPathSourceLayering, or OptimalLinkLengthLayering as appropriate given the LayeringOption.
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