npm / d3-force
d3-force
What changed in d3-force 2 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
3 breaking1 new APIs and options1 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initd3-force 33 changes
Breaking changes 3
The package now publishes an ES module bundle instead of separate source files, which may affect how developers consume it.
Node.js 12 or higher is now required to use this package.
The package adopts type: module, affecting how developers load and write modules.
d3-force 22 changes
New APIs and options 1
Adds an iterations argument to simulation.tick.
Fixes and other changes 1
Fixes a bug when initializing nodes with fixed positions.