Is there some way to draw a B+ tree in latex? It would look something like the picture below (ignoring the animations)
Animation linked here: http://i.stack.imgur.com/JRcmY.gif
Screenshot of the start of the animation:

|
Is there some way to draw a B+ tree in latex? It would look something like the picture below (ignoring the animations) Animation linked here: http://i.stack.imgur.com/JRcmY.gif Screenshot of the start of the animation:
|
||||
|
I would do this in TikZ. Section 18.1 of the version 2.10 manual shows how to make trees. The nodes on the trees are a little nonstandard, but perhaps section 16.3 on multi-part nodes would be helpful. Here's a quick mockup:
It's going to be more work to get the vertical lines doubled like in your example. The code for the |
|||||||||||
|
|
http://tug.org/PSTricks/main.cgi?file=pst-tree/pst-tree#binary can be modified to your needs |
|||
|
|
tikzis great resource for drawing graphs when you know the absolute positions of the nodes. – Hooked May 4 '11 at 4:22