react-d3-tree icon indicating copy to clipboard operation
react-d3-tree copied to clipboard

[Question]: Configurate line between block and center the tree in the div.

Open kosst-p opened this issue 4 years ago • 1 comments

Great component! Thanks! I would like to ask a question, since I am still a beginner in "react", I had some difficulties. I need to make a tree like this: offices Until I got a tree like this: yy I do not know how to regulate (configure) the lines between blocks Please tell me. I also wanted to turn off the zoom and put the tree in the center. I found a parameter through which you can control the zoom zoomable=false but the tree is shifted to the left of the block and cut off: offices3 Please tell me how to fix it. thanks!

kosst-p avatar Jan 31 '21 14:01 kosst-p

For centering, this solved it for me https://github.com/bkrem/react-d3-tree/issues/272

for display, your image looks like it could be solved with proper css when using a foreign node

def-roth avatar Mar 03 '21 13:03 def-roth