react-d3-tree
react-d3-tree copied to clipboard
[QUESTION] - How to move the position of node text
Hi everyone 🖐️.
I want to move the position of the node text (name) but i didn't find how to do it despite my research.
If anyone can explain me how to do it, it will make my day 👍.
Thank you for your answers !

Hi @JoffreyChevalier
found one solution, in your custom css write
//For root .node__root > .rd3t-label > .rd3t-label__title{ transform: translate(-17px, 0px); }
//For branch .node__branch > .rd3t-label > .rd3t-label__title { transform: translate(-25px, 0px); }
//set position of x and y coordinates value according to your need
@Devamchaudhari Thank you sm!
@Devamchaudhari Thank you sm!
welcome :) @paulano1
how to move child nodes in corner, like up and down