Commit Graph

107 Commits

Author SHA1 Message Date
Mike Bostock
c46be8de85
Add center.strength.
Fixes #81.
2020-08-12 14:16:18 -07:00
Philippe Rivière
88e57e2593
link to phyllotaxis notebook (#159)
(& no need to specify "around the origin" since we can scale & translate after init, as demonstrated in https://observablehq.com/@d3/force-layout-phyllotaxis )
2020-07-10 18:28:34 +02:00
Joel Louzado
051f8d3976
docs(README.md): Add definition for alpha (#139)
* docs(README.md): Add definition for `alpha`

- Alpha didn't have a meaningful definition and assumed people already knew what it was.
- Also added link to Simulation-Restart to reference the idea presented there of "reheating" the simulation

fix: https://github.com/d3/d3-force/pull/139#issuecomment-655488430

Co-authored-by: Philippe Rivière <fil@rezo.net>
2020-07-10 18:17:40 +02:00
Philippe Rivière
194dba9ed9
default strength for collide is 1
fixes https://github.com/d3/d3-force/issues/127
2020-06-25 16:28:00 +02:00
Tom MacWright
27df15202d Update README.md 2019-09-25 11:53:47 -07:00
Tom MacWright
595eb55157 Remove beta from ObservableHQ link 2019-09-25 11:53:47 -07:00
Mike Bostock
455c0bad8f Prepare for v2. 2018-12-16 09:46:17 -08:00
Mike Bostock
0062ebbad5 Adopt Map. 2018-11-10 22:04:52 -08:00
vasco
ec2f423ba5 Fix #111. Add iterations to tick method. 2018-11-10 21:55:59 -08:00
Mike Bostock
84d0335443 Add forceRadial example. 2017-09-30 08:42:09 -07:00
Mike Bostock
b20fa133c4 Fix #103. Update README. 2017-09-23 11:06:56 -07:00
Mike Bostock
cea22c8894 Update README. 2017-09-21 22:16:49 -07:00
Mike Bostock
40bd984ffa Add d3.forceRadial. 2017-09-21 22:15:37 -07:00
Mike Bostock
c7d165a72e Update README. 2017-04-14 22:27:14 -07:00
Alexey Velikiy
2eaf0f07fa Add force removing note 2017-04-14 22:25:45 -07:00
Mike Bostock
13af598703 Link to examples. 2017-01-21 09:52:14 -08:00
Mike Bostock
08d3c611e2 Update README; related #72. 2016-11-09 15:11:14 -08:00
Mike Bostock
2687577dab Fix #61. 2016-09-27 09:19:14 -07:00
Mike Bostock
045d542d4f Fix #60. 2016-09-24 08:14:33 -07:00
Nathaniel Watson
50899c94f8 Fix typo in readme
"beeswam" -> "beeswarm"
2016-09-18 16:55:15 +12:00
Mike Bostock
92c8776b1a Clarify re-initialization. Related #53.
The text wasn’t clear here: it could be interpreted to mean when x.x (for
example) is called in getter mode, but re-initialization only happens when the
method is called in setter mode.
2016-08-16 12:10:52 -07:00
Devinsuit
27053a96f9 Add links to source 2016-08-13 19:59:30 +03:00
Mike Bostock
8b6cffa1c8 Update README. Related #38. 2016-07-28 08:42:30 -07:00
Mike Bostock
af1d2b8c86 Update README. Fix #47. 2016-07-26 16:31:54 -04:00
Mike Bostock
e9a4a284cb Update README. Related d3/d3#2881. 2016-06-30 12:23:02 -07:00
Mike Bostock
29ad3e14e6 Prepare for major release. 2016-06-24 10:43:11 -07:00
Mike Bostock
3c00395e78 Rename drag to velocity decay. 2016-06-20 14:02:30 -07:00
Mike Bostock
44c73909ee Simplify node-fixing API.
Rather than storing separate state for the nodes’ fixed positions, just use the
fx and fy properties on the nodes themselves. This is more similar to the 3.x
API which used node.fixed (and node.px, node.py to store the previous position).
This eliminates the need to expose additional APIs for getting, setting,
clearing and iterating over the fixed positions.

Fixes #35.
2016-06-20 13:50:42 -07:00
Mike Bostock
88aa802ab3 Update dependencies. 2016-06-19 09:25:07 -07:00
Mike Bostock
31f6027bba Export to d3.
Related d3/d3#2840.
2016-06-07 20:53:45 -07:00
Mike Bostock
04c525a16e Update README. 2016-06-07 12:33:27 -07:00
Jeffrey Heer
0e28745c34 Add unfixAll method. 2016-06-07 12:29:24 -07:00
Mike Bostock
3cbde605e3 Update d3-collection to 0.2. 2016-05-20 14:22:11 -07:00
Mike Bostock
2495c0b7ba Update README. 2016-05-19 13:05:27 -07:00
Mike Bostock
b264ebc70d Update README. 2016-05-18 09:53:31 -07:00
Mike Bostock
e19a24e416 Link to interactive graph. 2016-05-13 11:13:36 -07:00
Mike Bostock
7f0201b285 Update README. 2016-05-12 15:54:15 -07:00
Mike Bostock
80ea6904ef Document the expected number of ticks. 2016-05-12 15:30:55 -07:00
Mike Bostock
06584d311c Update README. 2016-05-12 13:17:49 -07:00
Mike Bostock
0ae4a1b6b9 Update README. 2016-05-10 11:02:40 -07:00
Mike Bostock
093d16de68 Prepare for minor release. 2016-05-10 10:56:19 -07:00
Mike Bostock
8c86ea74f0 Update README. 2016-05-10 10:41:29 -07:00
Mike Bostock
4d36b90eb9 Update README. 2016-05-10 10:21:46 -07:00
Mike Bostock
41044c8be2 Update README. 2016-05-10 10:20:49 -07:00
Mike Bostock
92a496559a Update README. 2016-05-10 10:20:34 -07:00
Mike Bostock
d486875516 Update README. 2016-05-10 10:20:07 -07:00
Mike Bostock
275f4b2bea Update README. 2016-05-10 10:19:42 -07:00
Mike Bostock
f70a40f78d Default to the node’s current position.
Nice!
2016-05-10 10:15:17 -07:00
Mike Bostock
add1373738 Replace d3.forceFix with simulation.{fix,unfix}.
This feels a bit cleaner since you don’t need to track the name of the fixing
force externally. It also enforces that fixing happens after the application of
any forces.
2016-05-10 10:08:25 -07:00
Mike Bostock
a4153e77fd Add d3.forceFix. Fixes #27. 2016-05-10 09:49:20 -07:00