Nevron Open Vision Documentation
Nevron.Nov.Diagram.Layout Namespace / NGraphCrossingReductor Class / ApplyOrderToLayer Method
The layer to be reordered.
The new order. The meaning of the array is as follows: in order[0] is stored the index in Layer2 of the vertex that should be first, in order[2] is the index of the vertex that should be second in the final ordering and so no.


In This Topic
    ApplyOrderToLayer Method
    In This Topic
    Applies a new order of the vertices for a given layer.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub ApplyOrderToLayer( _
       ByVal layer As NGraphVertexList, _
       ByVal order() As System.Integer _
    ) 
    'Usage
     
    
    Dim instance As NGraphCrossingReductor
    Dim layer As NGraphVertexList
    Dim order() As System.Integer
     
    instance.ApplyOrderToLayer(layer, order)
    protected virtual void ApplyOrderToLayer( 
       NGraphVertexList layer,
       System.int[] order
    )

    Parameters

    layer
    The layer to be reordered.
    order
    The new order. The meaning of the array is as follows: in order[0] is stored the index in Layer2 of the vertex that should be first, in order[2] is the index of the vertex that should be second in the final ordering and so no.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also