Commit Graph

248 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
Christophe Coevoet
23ccfe0e4f
Mark the package as having no side effects (#145) 2020-07-10 18:18:50 +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
Philippe Rivière
810f7312ce
Merge pull request #129 from Fil/phyllotaxis.5
Add .5 to the radius for a nicer density around the origin
2020-05-06 09:52:16 +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
9f1265cca3 Standardize dependencies. d3/d3#3337 2019-08-09 17:37:45 -07:00
Mike Bostock
6bbdaeb27c Use exact paths in imports. d3/d3#3265 2019-08-09 15:20:33 -07:00
Mike Bostock
8d979ea8d5 Update link.js 2019-07-24 14:53:46 -07:00
Micah Stubbs
d6dc0c1a97 indicate node is missing in missing node error
this avoids the difficult to debug message "missing: undefined" that appears when a nodeId is undefined.
2019-07-24 14:53:46 -07:00
Mike Bostock
a97670b8c5 2.0.1 2019-03-14 09:06:28 -07:00
Mike Bostock
4c064c791a Update dependencies. 2019-03-14 09:06:10 -07:00
Mike Bostock
dd4a288376 Fix #135. 2019-03-14 09:05:41 -07:00
Mike Bostock
0cc60d2a37 2.0.0 2018-12-16 09:47:39 -08:00
Mike Bostock
5e36c11ef7 Explicit files. 2018-12-16 09:47:29 -08:00
Mike Bostock
455c0bad8f Prepare for v2. 2018-12-16 09:46:17 -08:00
Philippe Rivière
9c403f765d Add .5 to the radius for a nicer density around the origin
See https://beta.observablehq.com/@fil/phyllotaxis-explained
2018-12-15 20:45:29 +01:00
Mike Bostock
00268ddf6a Favor proper imports. 2018-11-13 07:27:48 -08:00
Mike Bostock
8d2a75121a Fix nodeById initialization. 2018-11-13 07:23:30 -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
vasco
b383200ee5 Fix #123 Initialize fixed nodes from f* attributes 2018-10-10 21:18:40 -07:00
Mike Bostock
83d4653e8e 1.1.2 2018-08-24 14:26:09 -07:00
Mike Bostock
6d7e24bf72 Update dependencies. 2018-08-24 14:26:07 -07:00
Mike Bostock
ed010ef09a Adopt npm_package_version. 2018-08-24 14:01:54 -07:00
Mike Bostock
b104062edc Move index; add unpkg & jsdelivr fields. 2018-08-24 13:49:50 -07:00
Mike Bostock
56a9e6f5a7 1.1.1 2018-08-24 12:08:22 -07:00
Mike Bostock
a5105d8a64 Update dependencies. 2018-08-24 12:08:21 -07:00
Mike Bostock
84d0335443 Add forceRadial example. 2017-09-30 08:42:09 -07:00
Mike Bostock
0c2f3f466a 1.1.0 2017-09-30 08:35:58 -07:00
Mike Bostock
c1450d0d7f 1.0.7 2017-09-30 08:35:06 -07:00
Mike Bostock
b5ab2776b8 Update dependencies. 2017-09-30 08:34:55 -07:00
Mike Bostock
b20fa133c4 Fix #103. Update README. 2017-09-23 11:06:56 -07:00
Mike Bostock
5718530dd5 Rename local var. 2017-09-23 11:02:17 -07:00
Mike Bostock
6cadb82a47 Merge branch 'barnes-hut-coords' of https://github.com/vasturiano/d3-force-3d into vasturiano-barnes-hut-coords 2017-09-23 11:01:16 -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
Vasco Asturiano
258b35d1a2 Correct weighted average in barnes-hut coordinates 2017-06-23 00:35:55 -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
95aa9b10cb 1.0.6 2017-03-10 10:05:18 -08:00
Mike Bostock
7b052fa041 Update UglifyJS. 2017-03-10 10:05:09 -08:00
Mike Bostock
9968e3780b 1.0.5 2017-02-28 09:29:39 -08:00
Mike Bostock
16b5e37e88 Update Rollup. 2017-02-28 09:29:30 -08:00
Mike Bostock
13af598703 Link to examples. 2017-01-21 09:52:14 -08:00
Mike Bostock
18a155deb6 1.0.4 2016-11-22 16:32:11 -08:00
Mike Bostock
08d3c611e2 Update README; related #72. 2016-11-09 15:11:14 -08:00
Mike Bostock
87b80afdb4 Fix #72 for d3.forceLink. 2016-11-09 15:09:35 -08:00