Nevron .NET Vision
Nevron.Diagram Namespace / NLayoutData Class / IndexInLayer Property


In This Topic
    IndexInLayer Property
    In This Topic
    Determines the index of the node in its layer when Layered Graph Layout is applied. By default set to -1, which means that the index will be determined automatically.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Shape 2D Layout")>
    <System.ComponentModel.DescriptionAttribute("Determines the index of the node in its layer when Layered Graph Layout is applied. By default set to -1, which means that the index will be determined automatically.")>
    <System.ComponentModel.DefaultValueAttribute(-1)>
    Public Property IndexInLayer As System.Integer
    'Usage
     
    
    Dim instance As NLayoutData
    Dim value As System.Integer
     
    instance.IndexInLayer = value
     
    value = instance.IndexInLayer
    [System.ComponentModel.Category("Shape 2D Layout")]
    [System.ComponentModel.Description("Determines the index of the node in its layer when Layered Graph Layout is applied. By default set to -1, which means that the index will be determined automatically.")]
    [System.ComponentModel.DefaultValue(-1)]
    public System.int IndexInLayer {get; set;}
    Remarks
    If you want the node to be the first in its layer set this property to 0. If set it to a value greater than or equal to the number of vertices in the layer, the node will be placed last in the layer. If the value of this property is negative the node index in the layer will be determined by the Layered Graph Layout algorithm.
    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