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

Quadtree, delete node #1991

Closed
wants to merge 3 commits into from
Closed

Quadtree, delete node #1991

wants to merge 3 commits into from

Conversation

chabb
Copy link

@chabb chabb commented Aug 26, 2014

I needed to build a quadtree that can allows to delete/add nodes.

It is a first naive implementation :

  • each nodes keep a reference to its parent
  • delete method is called on root and accepts only leaf node at the moment
  • users should keep a reference to all nodes (typically via the visit method)

@mbostock mbostock added the req label Oct 21, 2015
@mbostock mbostock added this to the Icebox milestone Oct 21, 2015
@mbostock mbostock modified the milestones: 4.0, Icebox Apr 26, 2016
@mbostock
Copy link
Member

The new d3-quadtree module supports quadtree.remove and will be part of D3 4.0.

@mbostock mbostock closed this Apr 26, 2016
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