开发者

draw a B+ tree in latex

Is there some way to draw a开发者_JAVA技巧 B+ tree in latex? It would look something like the picture below (ignoring the animations)

draw a B+ tree in latex


You can use PGF/Tikz to draw vector graphics with latex. I was satisfied with this latex package. It has a very detailed manual with many examples. Chapter 11.6 of the manual gives a Special syntax for Specifying Trees.


I don't know if it's possible to draw the B+ tree directly in LaTeX, but it's definitely possible to include an image. With GraphicX installed, insert \usepackage{graphicx} in the header and \includegraphics{imagefilename} and the body. See this Wikibook on LaTeX for more information.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜