GoDiagram Win Reference
InitializeIndices Method

Assigns every node in the input network an index number, such that nodes in the same layer will be labeled with consecutive indices in left to right order. All consecutive layout operations will preserve or update the indices. In addition, the indices array is initialized such that indices[layer] indicates the number of nodes in the layer. Finally, the variables minIndexLayer and maxIndexLayer record the layers that correspond to the minimum and maximum nodes in a layer.
Syntax
'Declaration
 
Protected Overridable Sub InitializeIndices() 
protected virtual void InitializeIndices()
Remarks
By default this will just call NaiveInitializeIndices, DepthFirstOutInitializeIndices, or DepthFirstInInitializeIndices, as appropriate given the value of InitializeOption. This method must not change the layer of any existing node, nor add or remove any layers.
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