\node [circle, draw] at (6, 0) {63}
child{node [circle, draw] (left node) {26}
child{node [rectangle,draw] (left node) {A:12}}
child{node [circle, draw] (right node) {14}
child{node[rectangle,draw] (left node) {B:7}}
child{node [circle, draw] (right node) {7}
child{node[rectangle,draw] (left node) {Z:2}}
child{node[rectangle,draw] (right node) {X:5}}
}
}
}
child{node [circle, draw] (right node) {37}
child{node [rectangle,draw] (left node) {I:18}}
child{node [circle, draw] (right node) {19}
child{node[rectangle,draw] (left node) {S:9}}
child{node[rectangle,draw] (right node) {M:10}}
}}
;
I'm new to tree building with LaTeX and I just can't seem to troubleshoot my own problems. Can anyone see the problem with this code that is causing the tree to come out messed up?



tikz-qtreemakes it easy to specify the tree—much simpler thantikzalone. Is there a way to make the connections emanate from the center of each node? – Matthew Leingang Apr 07 '11 at 02:14