This is an extension problem from my last post How to draw the recursive H-Layout tree using Tikz?. The (2D) H-layout tree is actually from the VLSI layout problem in computer science. I have received excellent solutions to the last post. Now, I am further interested in its 3D extension.
3D H-Layout tree: It is a recursive structure whose basic units are transformed 3D H-layout. The 3D H-layout consists of three mutually perpendicular mata-edges. Each meta-edge is composed by three nodes connected by two edges.
The following image shows a basic 3D H-layout unit:
A simple 3D H-layout tree is as follows (Note: in this image, just the red part grows recursively. I would prefer the solution in which both the blue part and the red part grow simultaneously):
How to draw this 3D H-layout recursive tree using Tikz? The visualization will be beneficial for my further investigation of such structure.