[Tex/LaTex] TikZ library for Computer Science

tikz-pgf

Is there a Computer Science library for TikZ?

I am looking for a library for drawing standard data structures (array, linked list, stack, queue, pointers, trees, etc) in a consistent way.

I would also be happy to hear how hard would it be to create such a library for an intermediate LaTeX user (understands some macros, can't write macros independently) in terms of work-days.

Best Answer

At the moment, there is no a dedicated Computer Science tikz library. But it is not hard to realize why there is no need for one, as you can achieve almost anything you want with four basic tikz libraries:

  • \usetikzlibrary{arrows}

  • \usetikzlibrary{shapes}

  • \usetikzlibrary{trees}

  • \usetikzlibrary{mindmap}

In this website you can find a comprehensive list of examples for many Computer Science applications, including the ones you mention. The page includes the .tex file for each example. If you see the code of these examples, there is no use of any specialized package (with this exception) but only a clever combination of the above.