neptunejs / d3-flextree-v4

MIT License
10 stars 1 forks source link

Nodes can overlap #2

Closed jacobp100 closed 2 years ago

jacobp100 commented 7 years ago

I can't quite determine the logic that causes this, but I've attached a screenshot of a setup that breaks the layout. All nodes are the same size.

I've also attached some screenshots demonstrating the effect of removing children from nodes in a way that fixes the layout. These are highlighted.

Broken

broken

Changes that Fixed It

(Changes highlighted)

fix-1 fix-2