TikZ-dependency Icon


A LaTeX library to draw all sorts of dependency trees and graphs

5.0 Stars (7)
2 Downloads (This Week)
Last Update:
Download tikz-dependency-1.2.tgz
Browse All Files
Windows Mac Linux



TikZ-dependency allows you to draw dependency graphs in LaTeX documents with little or no effort.

The package has a very easy to learn, high level interface that can be used to draw simple dependency trees, complex non projective graphs, bubble parses, and in general any kind of graph which is based on a sequence of nodes and edges among these.

It is based on PGF/TikZ and it can be used either with latex or pdflatex. It comes with a very comprehensive documentation that will get you started in 10 minutes, even without any prior knowledge of TikZ.

It also provides a lot of styling facilities, to let you personalize the look and feel of the graphs at your liking.

TikZ-dependency Web Site


  • Intuitive syntax to draw dependency graphs directly in LaTeX
  • High-level interface to define the look-and-feel of the graphs
  • Based on PGF/TikZ
  • Convenient macros to enrich the graphs with arbitrary TikZ elements


User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    the right way to draw dependency trees

    Posted 05/27/2016
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Works with XeLaTeX and the Polyglossia package as well. The following minimal example will generate a nice dependency graph for a Greek sentence with a gloss. \documentclass[a4paper]{article} \usepackage{fontspec} \usepackage{polyglossia} \setmainfont[Mapping=tex-text]{Linux Libertine O} \newfontfamily\greekfont[Script=Greek]{Linux Libertine O} \setdefaultlanguage{greek} \setotherlanguage{english} \usepackage{tikz} \usepackage{tikz-dependency} \begin{document} \begin{dependency} \begin{deptext}[column sep=0.7cm] Τα \& παιδιά \& έφαγαν \& τα \& μήλα \\ The \& children \& ate \& the \& apples\\ \end{deptext} \depedge{2}{1}{det} \depedge{3}{2}{subj} \depedge{5}{4}{det} \depedge{3}{5}{dobj} \deproot{3}{root} \end{dependency} \end{document}

    Posted 01/13/2012
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    If you're a linguist using LaTeX, and you've been wondering how to do dependency diagrams for a paper, get this package! It's a wrapper around PGF/TikZ, and it means you don't really have to get to grips with them. Upgrade PGF to 2.10, and you can have your first diagrams done in literally 2 minutes, thanks to a superb manual and intuitive options. I didn't really know where to begin with dependency diagrams, but this package makes them trivial to do. This is a "must-have" package for your toolbox.

    Posted 01/13/2012
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    The package is intended for typesetting of dependency graphs without having to know TIKZ/PSTRICKS/any other large graphic Latex package. It does its job very well. The package is extremely useful, simple and powerful. The documentation explains pretty much everything with lots of example code. Thanks to usage of TIKZ also works directly with pdflatex, which is nice these days, when PostScript seems a bit out of favour. You can do a lot more that just classical dependency graphs in tikz-dependency, e.g. any strings of words/formatted input with labelled arrows, which is helpful when typesetting other linguistic relations.

    Posted 01/13/2012
Read more reviews

Additional Project Details

Intended Audience

Science/Research, End Users/Desktop



Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks