GoXam for WPF v3
GravitationalMass Method
Northwoods.GoXam.Layout Namespace > ForceDirectedLayout Class : GravitationalMass Method
The function GravitationalMass returns the mass of the point representing the ForceDirectedVertex node. A node L is acted upon by forces in the X and Y directions of magnitude GravitationalFieldX(L.position) * GravitationalMass(L) and GravitationalFieldY(L.position) * GravitationalMass(L).
Syntax
protected virtual double GravitationalMass( 
   ForceDirectedVertex v
)

Parameters

v

Return Value

Returns the mass of node, normally the value of DefaultGravitationalMass, unless the value of ForceDirectedVertex.Mass had already been set, in which case it just returns that value.
See Also

Reference

ForceDirectedLayout Class
ForceDirectedLayout Members