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

Prevent next tick when force.stop is called. #510

Merged
merged 1 commit into from Feb 18, 2012
Merged

Prevent next tick when force.stop is called. #510

merged 1 commit into from Feb 18, 2012

Conversation

jasondavies
Copy link
Contributor

This is useful when stopping the layout in response to a user action, e.g. if another layout is used to position the nodes in an event handler. In this case, we don't want the next tick of the force layout to run as it could undo the positioning work done in the event handler.

This is useful when stopping the layout in response to a user action,
e.g. if another layout is used to position the nodes in an event
handler.  In this case, we don't want the next tick of the force layout
to run as it could undo the positioning work done in the event handler.
@mbostock
Copy link
Member

Yes!

@mbostock mbostock merged commit 4f37a48 into d3:master Feb 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants