see Generate coordinates for each node to display a complete binary tree?
Available thanks to @PavelBoytchev