Nevron .NET Vision
Nevron.Diagram.Layout Namespace / NBarycenterForce Class / AttractionCoefficient Property


In This Topic
    AttractionCoefficient Property (NBarycenterForce)
    In This Topic
    Gets/sets the attraction coefficient, which affects the power with which connected vertices attract each other. Should be a value in the the [0;1] range
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Behavior")>
    <System.ComponentModel.DescriptionAttribute("Gets/sets the attraction coefficient, which affects the power with which connected vertices attract each other")>
    <System.ComponentModel.DefaultValueAttribute(1)>
    Public Property AttractionCoefficient As System.Single
    'Usage
     
    
    Dim instance As NBarycenterForce
    Dim value As System.Single
     
    instance.AttractionCoefficient = value
     
    value = instance.AttractionCoefficient
    [System.ComponentModel.Category("Behavior")]
    [System.ComponentModel.Description("Gets/sets the attraction coefficient, which affects the power with which connected vertices attract each other")]
    [System.ComponentModel.DefaultValue(1)]
    public System.float AttractionCoefficient {get; set;}
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also