d3 / d3-force

Force-directed graph layout using velocity Verlet integration.
https://d3js.org/d3-force
ISC License
1.82k stars 377 forks source link

rename velocityDecay to viscosity #161

Closed Fil closed 4 years ago

Fil commented 4 years ago

the variable itself, which contains 1-viscosity, is renamed to viscosity_1.

I've left velocityDecay as a (deprecated) API method.

fixes #100

mbostock commented 4 years ago

I don’t feel like the new name is better enough to justify deprecation. I’d favor keepings things as-is to reduce churn.