unstale

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 init

@unstale/cli on npm

d3-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.

    3.0.1release notes

  • Node.js 12 or higher is now required to use this package.

    3.0.0release notes

  • The package adopts type: module, affecting how developers load and write modules.

    3.0.0release notes

d3-force 22 changes

New APIs and options 1

  • Adds an iterations argument to simulation.tick.

    2.0.0release notes

Fixes and other changes 1

  • Fixes a bug when initializing nodes with fixed positions.

    2.0.0release notes