Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don’t allow exact coincidence along either x or y. #23

Closed
3 tasks done
mbostock opened this issue Apr 29, 2016 · 1 comment
Closed
3 tasks done

Don’t allow exact coincidence along either x or y. #23

mbostock opened this issue Apr 29, 2016 · 1 comment
Assignees

Comments

@mbostock
Copy link
Member

mbostock commented Apr 29, 2016

We currently detect exact coincidence along x and y together, but this leads to some funny behavior if there’s exact coincidence along one dimension. We should check for exact coincidence along each dimension separately. Applies to all the forces that currently check for coincidence:

  • d3.forceCollide
  • d3.forceManyBody
  • d3.forceLink
@mbostock mbostock self-assigned this Apr 29, 2016
@mbostock
Copy link
Member Author

screen shot 2016-04-29 at 10 40 14 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant