In This Topic
Returns the charge of the point representing the GoLayoutForceDirectedNode node. A node L and a node V are acted upon by a force of magnitude (ElectricalCharge(L) * ElectricalCharge(V)) / (GetNodeDistance(L,V) * GetNodeDistance(L,V))
. A node L is acted upon by forces in the X and Y directions of magnitude ElectricalFieldX(L.position) * ElectricalCharge(L)
and ElectricalFieldY(L.position) * ElectricalCharge(L)
.
Syntax
Parameters
- node
Return Value
Returns the charge of the node, normally the value of
DefaultElectricalCharge, unless the value of
GoLayoutForceDirectedNode.Charge had already been set, in which case it just returns that value.
See Also