NevronOpenVision
Nevron.Nov.Diagram.Layout Namespace / NGraphBarycenterCrossingReductor Class / NGraphBarycenterCrossingReductor Constructor / NGraphBarycenterCrossingReductor Constructor(NGraphVertexList,NGraphVertexList,Boolean)
The first layer of vertices.
The second layer of vertices.
Determines whether to apply randomness or not. Random positioning vertices with the same barycenter weight on the second layer almost always results in better positioning of the vertices and less edge crossings.
In This Topic
    NGraphBarycenterCrossingReductor Constructor(NGraphVertexList,NGraphVertexList,Boolean)
    In This Topic
    Initializing constructor.
    Syntax
    public NGraphBarycenterCrossingReductor( 
       NGraphVertexList layer1,
       NGraphVertexList layer2,
       System.bool randomnessOptimization
    )

    Parameters

    layer1
    The first layer of vertices.
    layer2
    The second layer of vertices.
    randomnessOptimization
    Determines whether to apply randomness or not. Random positioning vertices with the same barycenter weight on the second layer almost always results in better positioning of the vertices and less edge crossings.
    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