Update Readme2

This commit is contained in:
Pitchaya Boonsarngsuk
2018-02-05 20:11:35 +00:00
parent 8f80f46653
commit c89ba4c7ce

View File

@@ -225,5 +225,4 @@ Stops the simulation, if it is running, and returns this layout simulation. If t
<a name="calculateStress" href="#calculateStress">#</a> d3.**calculateStress**(*nodes*, *distance*) [<>](src/stress.js "Source")
Calculate stress of a whole system, based on sum-of-squared errors of inter-object distances. *nodes* is the array of all nodes in the system and *distance* is the function to calculate the desired distance between two node objects. *distance* is expected to have the same prototype as the one in [springLink](#springLink_distance).