# Creating a qualification ladder/flow chart/tree

I'll take care of the contents programmatically, but looking for an easy, dynamic way of creating the actual layout of the tree. Each node might be filled with text data, or remain empty.

I tried some examples I found using TikZ/Forest or basic TikZ stuff, but most of the examples didn't work out the way I needed them (e.g. with the boxes not being placed nicely vertically centered between the two preceding boxes). I've also tried putting my own macros together (I'm a bit rusty, f* you, M\$ Office!), but haven't come too far yet.

The output does not have to look exactly like that, as long as the basic structure comes out like that and I can fill the nodes with my data (probably small table or two-liner)

Can anyone suggest some macro package to solve this? Non-LaTeX (PlainTeX) preferred, but will not be picky if it is something that requires LaTeX as long as it works ... ;)

Thanks!

• Welcome! TikZ/PGF. Ticks all the boxes. Sounds like it isn't a tree (haven't followed the link to look), especially if the tree-ish packages are no good. Works with plain or LaTeX. Well-documented. Not really sure what's to be said here without more details about the problem you want help with e.g. what you tried and what didn't work. – cfr Jul 24 '18 at 23:21

I do not understand what you mean by "with the boxes not being placed nicely vertically centered between the two preceding boxes".

\documentclass[border=3.14mm]{standalone}
\usepackage[edges]{forest}
\begin{document}

\begin{forest}
forked edges,
for tree={
grow=180,
draw,
fork sep=8pt,
text width=15mm,
minimum height=5mm,
parent anchor=west,
child anchor=east,
text centered,
}
[
[
[
[
[
[]
[,fill]
]
[
[]
[]
]
]
[
[
[]
[]
]
[
[]
[]
]
]
]
[
[
[
[]
[]
]
[
[]
[]
]
]
[
[
[]
[]
]
[
[]
[]
]
]
]
]
[,fill
[,fill
[,fill
[,fill
[,fill]
[,fill]
]
[,fill
[,fill]
[,fill]
]
]
[,fill
[,fill
[,fill]
[,fill]
]
[,fill
[,fill]
[,fill]
]
]
]
[,fill
[,fill
[,fill
[,fill]
[,fill]
]
[,fill
[,fill]
[,fill]
]
]
[,fill
[,fill
[,fill]
[,fill]
]
[,fill
[,fill]
[,fill]
]
]
]
]
]
\end{forest}
\end{document}


• The sample I had - which I changed somewhat - somehow ended up with the second/third level nodes remaining at their position, while the height in the first level had changed, leading to the tree looking pretty weird ... will run your sample through TeX later on, looks pretty simple ... Tnx! – GarryG Jul 25 '18 at 11:25
• @user214 If that answer works for you, you may consider accepting it by clicking on the check mark left of it. – user121799 Jul 25 '18 at 12:50
• Looks good, did some initial tests ... tnx ... layout still looks a bit off if the contents in the boxes has different heights ... will do some further tests that are somewhat more like real-life tests ... – GarryG Jul 25 '18 at 13:35
• After having at least the basic functionality implemented, I tried getting this to work with plain TeX, but Forest seems to be LaTeX only, is that right? Can only find the LaTeX .sty files and stuff, no plain .tex macro files ... or am I missing something here? I never got into LaTeX but rather used a stack of other macro libraries and own macros to do what I wanted ... if all I needed was the tree I could probably just stick to LaTeX for this, but I need to do some more with the page, and I'm not really happy having to get into LaTeX coding just to use the Forest macros :( – GarryG Jul 27 '18 at 17:19
• @GarryG I am sorry, I never worked with plain TeX. (I know that TikZ should work with TeX, but I am not sure about forest. – user121799 Jul 27 '18 at 19:13