Suggestion: pack() layouts with deterministic outputs
jessihamel opened this issue · 5 comments
Can you share the actual numbers used? I made this notebook (from Mike's pack-o-matic) to try and reproduce
https://observablehq.com/@fil/pack-189
Yes, we should make it deterministic. We can use a LCG like we did for d3-force.
Can you share the actual numbers used? I made this notebook (from Mike's pack-o-matic) to try and reproduce https://observablehq.com/@fil/pack-189
Yes, here is an notebook that should reproduce it. https://observablehq.com/d/6df5cd39d11c9dfa
(Apologies that I didn't show the leaf nodes in the original screenshots, I realize now that was probably confusing.)
FYI I published the forked package. It doesn't have any changes except package name change and patch version. https://www.npmjs.com/package/d3-hierarchy-with-deterministic-pack
I hope everything is OK with the authors