Commit Graph

6 Commits

Author SHA1 Message Date
Mike Bostock
f08062fb16 Assign node.index in d3.forceSimulation.
Also get ready for d3-quadtree 0.3 and per-node forces.
2016-04-08 08:33:00 -07:00
Mike Bostock
bbaa4d61e5 Improvements.
Fix #7 - forces are now mutable, so it’s easier to change their settings and
they behave more like other configurable objects in D3 (though less like curves,
easing functions and interpolators).

Fix #9 - forces now have a dedicated interface rather than just being beforetick
listeners. This allows forces to be re-initialized when the nodes change.

Fix #10 - d3.forcePosition now initializes node positions and velocities.
2016-04-07 11:32:34 -07:00
Mike Bostock
2bebbfb2e7 Checkpoint many-body forces. 2016-04-06 13:21:23 -07:00
Mike Bostock
17111cc1bf 0.0.1 2016-04-05 13:53:44 -07:00
Mike Bostock
45776e98c8 Prepare for patch version. 2016-04-05 13:53:42 -07:00
Mike Bostock
bc24b67ad6 Initial commit. 2016-04-05 13:50:36 -07:00