Graph drawing in TikZ

Till Tantau*

*Corresponding author for this work
2 Citations (Scopus)


At the heart of every good graph drawing algorithm lies an efficient procedure for assigning canvas positions to a graph's nodes. However, any real-world implementation of such an algorithm must address numerous problems that have little to do with the actual algorithm, like handling input and output formats, formatting node labels, or styling nodes and edges. We present a new framework, written in the Lua programming language, that allows implementers to focus on core algorithmic ideas and leave all other aspects to the framework. Algorithms implemented for the framework can be used directly inside the TikZ graphics language and profit from the capabilities and quality of the TEX typesetting engine. The framework comes with implementations of standard tree drawing algorithms, a modular version of Sugiyama's layered algorithm, and several force-based multilevel algorithms.

Original languageEnglish
JournalJournal of Graph Algorithms and Applications
Issue number4
Pages (from-to)495-513
Number of pages19
Publication statusPublished - 01.08.2013


Dive into the research topics of 'Graph drawing in TikZ'. Together they form a unique fingerprint.

Cite this