Open
Description
Are you reporting a bug, or opening a feature request?
feature
What is the actual behavior/output?
Can renderCustomNodeElement be used to create custom nodes where the content does not wrap, the spacing between nodes is equal, and nodes do not overlap ?
What is the behavior/output you expect?
If nodeSize is used to specify the width, the nodes overlap; if the dynamically calculated maximum node width is used, the spacing between nodes is inconsistent.
nodeSize={{ x: 250, y: 80 }}
// another
nodeSize={{ x: maxWidth, y: 80 }}
Can you consistently reproduce the issue/create a reproduction case (e.g. on https://codesandbox.io/)?
demo
What version of react-d3-tree are you using?
3.6.2
Metadata
Metadata
Assignees
Labels
No labels