Answer to Question #15560 in AJAX | JavaScript | HTML | PHP for Vinayak Pandit

Question #15560
I m a student B.E. Comp. Engg. We have told to draw a B+ tree to show system dependencies in our final year project.How should i get it done?plz......provide me the guidance.i will be grateful to u.
1
Expert's answer
2012-11-08T09:30:25-0500
documentclass{article}
usepackage{tikz}
usetikzlibrary{shapes}
egin{document}
egin{center}
egin{tikzpicture}
ikzstyle{bplus}=[rectangle split, rectangle split horizontal,rectangle split ignore empty parts,draw]
ikzstyle{every node}=[bplus]
ikzstyle{level 1}=[sibling distance=60mm]
ikzstyle{level 2}=[sibling distance=15mm]

ode {15} [->]
child {node {3
odepart{two} 7}
child {node {1
odepart{two} 2}}
child {node {4
odepart{two} 6}}
child {node {8
odepart{two} 9}}
}
child {node {21
odepart{two} 28
odepart{three} 32
odepart{four} 50}
child {node {17
odepart{two} 20}}
child {node {22
odepart{two} 25}}
child {node {28
odepart{two} 30}}
child[sibling distance=25mm] {node {34
odepart{two} 38
odepart{three} 44
odepart{four} 47}}
child[sibling distance=25mm] {node {53
odepart{two} 54
odepart{three} 60
odepart{four} 88}}
}
;end{tikzpicture}
end{center}
end{document}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS