calculateComponentVelocity(v, f, m) {
    const df = this.modelOptions.damping * v; // damping force
    const a = (f - df) / m; // acceleration

    v += a * this.timestep;

    // Put a limit on the velocities if it is really high
    const maxV = this.options.maxVelocity || 1e9;
    if (Math.abs(v) > maxV) {
      v = v > 0 ? maxV : -maxV;
    }

    return v;
  }
Calculate new velocity for a coordinate direction
@param {number} v  velocity for current coordinate
@param {number} f  regular force for current coordinate
@param {number} m  mass of current node
@returns {number} new velocity for current coordinate
@private