springLength method
Returns the length of the spring representing an edge.
The two vertexes connected by the edge E are acted upon by a force of proportional to
springStiffness(E) * (getNodeDistance(E.fromVertex, E.toVertex) - springLength(E))
divided by the distance between the vertexes.
Please read the Introduction page on Extensions for how to override methods and how to call this base method.
@expose
@param {ForceDirectedEdge} e
@return {number}
Returns the length of the edge representing a link,
the value of ForceDirectedEdge#length if it's a number,
or else the value of #defaultSpringLength.
Implementation
_i2.num springLength(_i3.ForceDirectedEdge e) => _i4.callMethod(
this,
'springLength',
[e],
);