Nevron Open Vision Documentation
Nevron.Nov.Diagram.Layout Namespace / NElectricalForce Class / AccumulateForce Method


In This Topic
    AccumulateForce Method (NElectricalForce)
    In This Topic
    Computes the electical force acting on vertex1 and vertex2 and updates the bodies current forces
    Syntax
    'Declaration
     
    
    Public Overridable Sub AccumulateForce( _
       ByVal vertex1 As NForceDirectedVertexBody, _
       ByVal vertex2 As NForceDirectedVertexBody _
    ) 
    'Usage
     
    
    Dim instance As NElectricalForce
    Dim vertex1 As NForceDirectedVertexBody
    Dim vertex2 As NForceDirectedVertexBody
     
    instance.AccumulateForce(vertex1, vertex2)
    public virtual void AccumulateForce( 
       NForceDirectedVertexBody vertex1,
       NForceDirectedVertexBody vertex2
    )

    Parameters

    vertex1
    vertex2
    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