“Because the tree is traversed in-order, this means that parents will be drawn before (i.e., behind) their children, with siblings drawn in the order they appear in the tree.”
Does the author actually mean “pre-order”, instead of “in-order”?
Thank you for your help.
It’s more like “depth-first order” for measuring the children and “pre-order” for the actual drawing.
The parent will be drawn first and the children stacked on top of the parent.