`Extent` is broken?

Open
#44 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript

Research direction

Read the extent method and its tests in the d3-quadtree repository. Reproduce the reported case with extent [[1,1],[5,5]], then call tree.extent(tree.extent()) and inspect the resulting extent. Done means the call preserves the expected extent instead of expanding it to [[1,1],[9,9]].

Written by the indexing model from the issue text.

Description

If a tree has the extent [[1,1],[5,5]], calling tree.extent( tree.extent() ) returns a tree with the extent [[1,1], [9,9]]

Dominant language
JavaScript
Stars
238
Forks
54
Avg merge
1d 13h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from d3/d3-quadtree

All issues in d3/d3-quadtree

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.