I am basically trying to re-create the Aves Cladogram as illustrated in this wikipedia page.
After trying to use Newicktree package for a while, I decided to migrate to forest.
I am trying to make an horizontal and squared edge tree combining answer from Square edges in forest package and how could we create this tree diagram?.
Here is my current code:
\documentclass[tikz]{standalone}
\usepackage{forest}
\begin{document}
\begin{forest}
for tree={
edge path={\noexpand\path[\forestoption{edge}](\forestOve{\forestove{@parent}}{name}.parent anchor) -- +(0,-12pt)-| (\forestove{name}.child anchor)\forestoption{edge label};},
grow=0,
reversed, % tree direction
parent anchor=east,
child anchor=west, % edge anchors
}
[VP
[DP,tier=word]
[V’
[V,tier=word]
[DP,tier=word]
]
]
\end{forest}
\end{document}
And as expected the result is not desirable:

My guess is that I should modify -- +(0,-12pt)-|, but I don't know how !
Many thanks for your help !


northwhen nodes are empty, though.westwould be better here. – cfr Nov 20 '15 at 13:24delay={where content={}{shape=coordinate,for parent={for children={anchor=west}}}{}}solves both the compilation error and the alignment problem for me. (Assuming the alignment was a problem, and not intended - as I say, I wasn't clear on that.) – cfr Nov 20 '15 at 13:28