Nevron Open Vision Documentation
Nevron.Nov.Diagram.Layout Namespace / NLayeredGraphLayout Class / RandomnessOptimization Property


In This Topic
    RandomnessOptimization Property
    In This Topic
    Gets or sets whether to apply randomness optimization to the layout, which makes the layout nondeterministic (i.e. different runs of the layout result in different output graphs), but almost always results in better positioning of the vertices and less edge crossings. By default set to false.
    Syntax
    'Declaration
     
    
    Public Property RandomnessOptimization As System.Boolean
    'Usage
     
    
    Dim instance As NLayeredGraphLayout
    Dim value As System.Boolean
     
    instance.RandomnessOptimization = value
     
    value = instance.RandomnessOptimization
    public System.bool RandomnessOptimization {get; set;}
    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