Nevron Open Vision Documentation
Nevron.Nov.Diagram.Layout Namespace / NLayeredGraphLayout Class / CreateCrossingReductor Method


In This Topic
    CreateCrossingReductor Method
    In This Topic
    Creates a crossing reductor that repositions the vertices in the given layers in order to minimize edge crossings. The default implementation fixes the positions of the vertices in the given first layer and repositions the vertices in the given second layer.
    Syntax
    'Declaration
     
    
    Protected Overridable Function CreateCrossingReductor( _
       ByVal layer1 As NGraphVertexList, _
       ByVal layer2 As NGraphVertexList _
    ) As NGraphCrossingReductor
    'Usage
     
    
    Dim instance As NLayeredGraphLayout
    Dim layer1 As NGraphVertexList
    Dim layer2 As NGraphVertexList
    Dim value As NGraphCrossingReductor
     
    value = instance.CreateCrossingReductor(layer1, layer2)
    protected virtual NGraphCrossingReductor CreateCrossingReductor( 
       NGraphVertexList layer1,
       NGraphVertexList layer2
    )

    Parameters

    layer1
    layer2
    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