'Declaration
Public Function New( _ ByVal layer1 As NGraphVertexList, _ ByVal layer2 As NGraphVertexList, _ ByVal randomnessOptimization As System.Boolean _ )
'Usage
Dim layer1 As NGraphVertexList Dim layer2 As NGraphVertexList Dim randomnessOptimization As System.Boolean Dim instance As New NGraphBarycenterCrossingReductor(layer1, layer2, randomnessOptimization)
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.