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


In This Topic
    AccumulateForce Method (NBarycenterForce)
    In This Topic
    Computes the barycenter 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, _
       ByVal edge As NForceDirectedEdgeBody _
    ) 
    'Usage
     
    
    Dim instance As NBarycenterForce
    Dim vertex1 As NForceDirectedVertexBody
    Dim vertex2 As NForceDirectedVertexBody
    Dim edge As NForceDirectedEdgeBody
     
    instance.AccumulateForce(vertex1, vertex2, edge)

    Parameters

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