TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to make a TikZ diagram to show the detailed dependency structure of the theorems in my thesis with nodes and subnodes. Ex:

Theorem 4               (A)
   coding theorem       (A1)
       proof techniques (A1a) 
   converse             (A2)

Theorem 5               (B)

and then indicate that there is a dependency

(A1a) --> (B)

which is more precise than saying that Theorem 5 depends on Theorem 4. More specifically, this is what I am trying to draw:

enter image description here

Is there a TikZ package for that? Or for drawing .deb dependency graphs?

I found one package/framework for course prerequisites: http://www.texample.net/tikz/examples/prerequisite-chart/ but the underlying format is very low level so you are meant to edit with a program.

All advice / example / recommendations will be much appreciated!

share|improve this question
I think this answer is pretty close. You can also search for keywords graph etc. by using the [tikz-pgf] graph. That would search the graph in only TikZ tagged questions. – percusse Mar 30 '12 at 20:54

At http://latex-community.org/know-how/427-stemma-tikz last Thursday an interesting document was just translated from French to English. It is for manuscript analysis showing relationships between different manuscripts, authors, and texts. It is in the form a tutorial and I think this may be exactly what you want.

share|improve this answer

I have not used the tikz-dependency package but the first couple of pages looks like this would be a possible answer: http://texdoc.net/pkg/tikz-dependency.

Dependency graphs are used heavily by linguists and they create diagrams like what you are showing. After you build one I recommend you submit it to http://www.texample.net/tikz/examples/ where there are lots of inspiring examples and supporting code.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.