Northwoods.GoSilverlight 1.2.2 Assembly
InitializeIndices Method
See Also  Send Feedback
Northwoods.GoXam.Layout Namespace > LayeredDigraphLayout Class : 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

Visual Basic (Declaration) 
Protected Overridable Sub InitializeIndices() 
C# 
protected virtual void InitializeIndices()

Remarks

By default this will just call LayeredDigraphLayout.NaiveInitializeIndices, LayeredDigraphLayout.DepthFirstOutInitializeIndices, or LayeredDigraphLayout.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

See Also

© 2010 All Rights Reserved.