Closed izhanghongbo closed 5 years ago
3d-force-graph's example seems have that problem too, some times charge layout(manyBody) won't bounce nodes normal unnormal
@izhanghongbo thanks for your report, this is a great catch!
The loop should indeed iterate through all the children (8 for octree, 4 for quadtree and 2 for binary tree). I've fixed the code and I think this will solve the issue with the non-repelling nodes, which has actually been bothering me for some time. Thanks again for debugging and bringing this up. 👍
Hi,
I use d3-force-3d to do 3 dimensions graph visualization, when I drag a node, all the nodes linked with it will crowded together, is it because the parameters at accumulate are not correct? since it used d3-octree, it's tree node have 8 children, when I change 4 to 8 in for loop ,this problem seems fixed.
BTW, your repositories are so awesome! get lots of inspiration from it.
is this line un correct when on 3 dimensions?