8000 Hierarchy traversal should be depth first · Issue #1 · tomlagier/circle-pack · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Hierarchy traversal should be depth first #1
Open
@themangosteen

Description

@themangosteen

The methods HNode::eachBefore and HNode::eachAfter are using breadth first traversal, but should be using depth first preorder and postorder respectively. At least before it was not working and that fixed it for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0