-
Notifications
You must be signed in to change notification settings - Fork 377
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
add d3.forceExtent #89
Comments
Thank you, @gka. Your code saved me some time! +1 for adding this. This kind of force helped me to capture orphan nodes and prevent them to fly away out of screen bounds |
Fil
added a commit
that referenced
this issue
Jun 25, 2020
fixes #89 note that the extent's definition in this PR is [[*xmin*, *ymin*], [*xmax*, *ymax*]], more in line with, for example zoom.extent. Defaults to [[0,0], [960,500]].
Draft
This would certainly be useful, I've made PR #163 from your proposal, however changing the way the extent is defined and its defaults to [[xmin, ymin], [xmax, ymax]] = [[0,0], [960, 500]]. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I find this useful:
The text was updated successfully, but these errors were encountered: