Philippe Rivière

Results 970 comments of Philippe Rivière

It should already be the case https://github.com/d3/d3-force/blob/475ec96f1afad3bab5442d614af67fa0ce7c9785/src/collide.js#L50 oh, I see… it seems to be because, once the two first dots have been "randomly" separated, the other coincident points are not...

I have a fix here https://observablehq.com/d/dd1bcd29c2b1b850; it breaks the symmetry of the original solution for 2 coincident nodes, which is not a requirement but was kinda nice.

@harrystevens has made https://observablehq.com/@harrystevens/force-directed-beeswarm which we could use (maybe copying it to the d3 collection?)

My 2 cts opinion: I don't think the dodge chart is a direct replacement for the force-directed beeswarm. By contrast to the force-directed version, the dodge-beeswarm ​is not as compact;...

added @yurivish’s https://observablehq.com/@yurivish/building-a-better-beeswarm to my list; (in our test example ordering by size would be a random shuffle)

oops @john-guerra I realize this duplicates https://github.com/d3/d3-force/pull/115 in some (simpler) way.

Sorry I went really too fast on this issue. I've now made a test bed with the three forces here: https://observablehq.com/d/21d2053b3bc85bce Unfortunately in this specific situation (in particular, there is...

Agree with you that forceBoundary is currently the best (or "least worst") in this playground, but for me it's still not "good enough" in the sense that the nodes end...

Sure, but in that case it's not a "boundary" force anymore—it becomes more like a central gravitation. What would be the ideal force to contain a simulation in a box?...

I've added a collision force in the [test notebook](https://observablehq.com/d/21d2053b3bc85bce), making sure the constraint force was coming in last (a requirement for d3-force-limit because it's using look-ahead). I think it works...