bkrem / react-d3-tree

:deciduous_tree: React component to create interactive D3 tree graphs
https://bkrem.github.io/react-d3-tree
MIT License
1.06k stars 268 forks source link

Intersection bug #499

Open vlkmx opened 5 months ago

vlkmx commented 5 months ago

Hello! The library does not position the element correctly when there are two adjacent children, and one of them has no children, and the other has more than 3.

As a result, one of the children overlaps the lines of the second when using "elbow" pathFunc,

here is an example: https://codesandbox.io/p/sandbox/bug-report-lj7dfn

Снимок экрана 2024-03-10 в 13 18 27 Снимок экрана 2024-03-10 в 13 18 39
mr-tron commented 2 months ago

hello. i have same problem. can you help us?