An EdgeForce is a force that operates on edges and acts like a spring. It tries to keep the nodes a preferred distance away from eachother and applies a force in the direction of the edge if they are too close or far apart.
Sets (or gets) the target length of this force. If called with no arguments this method returns the current value for length. The defualt value is 120.
the target length, or a function that computes the target length for each edge
Sets (or gets) the spring damping factor of this force. If called with no arguments this method returns the current value of the spring damping factor. The default value is .9, meaning that the spring retains 90% of it's energy over each second.
the springDf, or a function that computes the springDf for each edge
Sets (or gets) the spring K of this force. If called with no arguments this method returns the current value for spring K. The default value is 90.
the spring K, or a function that computes the springK for each edge
Gets (or sets) whether this force is enabled. If passed with no arguments, returns true if this force is enabled. If passed with a boolean, it enables or disables the Force and returns this Force.
true or false if called with no arguments, this force if called with one.