Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. 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'm writing software and need to document an existing mathematical permutation in our code.

I thought the folks here would know where I can find a drawing/visualization tool to draw a permutation tree.

$a     $b        $c
true   true      true    134
true   true      false   245
true   false     true    2
true   false     false   3
false  true      true    8
false  true      false   17
false  false     true    19
false  false     false   32
share|cite|improve this question
What's a permutation tree? – Yuval Filmus Jun 5 '11 at 19:56
@Yuval Filmus, Edited to show example. – switch Jun 5 '11 at 20:07
I think this might be what mostly is called a "decision tree". It might be a better question for programmers/SE since no math or software development is involved. – hardmath Jun 5 '11 at 20:13

This website lists several LaTeX packages for drawing trees. While it seems more geared towards linguists who are making parse trees, I am sure that most of the packages are flexible enough to do what you need. Moreover, there are more generic drawing packages such as TikZ or pstricks that, while not specifically designed for making trees, should work quite well.

share|cite|improve this answer
In fact TikZ has dedicated libraries to drawing beautiful trees. – Mariano Suárez-Alvarez Jun 5 '11 at 21:19

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.