I have customized the tree layout to be oriented from top to bottom, based on a code similar to
When expanding nodes in the tree, I notice that other open nodes compress to adjust within the SVG element. Is there a way to prevent this behavior by potentially modifying the x component of each node? I attempted to make adjustments but the nodes still remain compressed together.
In addition, I am curious about changing the linking lines in the tree layout from bezier curves to right angles or straight lines. It seems like this might require a separate inquiry altogether.