d3/d3-hierarchy

z-index imitation for D3 tree layout node

nsharoyan opened this issue · 1 comments

Hi,

I'm actually working with some 3D visualization using D3 tree (which is not a common usage of it, I know :)) and I have an issue of showing one node to be 'behind' another one (kind of z-index imitation).

So I'm wondering if there is any native way to accomplish this, because my workarounds of changing positions of svg elements in the childNodes array of the parent were leading to swapping of nodes content in the tree.

Thanks

Please use Stack Overflow tag d3.js to ask for help. Stack Overflow provides a better collaborative forum: thousands of D3-related questions have been asked there, and some answers may be relevant to you.

When asking for help, please include a link to demonstrate the issue, preferably as an Observable notebook. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.

If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.

Thank you! 🤗