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've been trying to create a tree consisting out of parents and nodes connected with arrows. I have created almost what I had in mind, except from that the arrows point the wrong direction.

could anyone be of help here?

label distance=3mm,
every label/.style={blue},
event/.style={rectangle,thick,draw,text width=3cm,text centered,anchor=north},
edge from parent/.style={very thick,draw=black!70,-latex},
edge from parent path={(\tikzparentnode.south) -- ++(0,-0.50cm)-| (\tikzchildnode.north)},
level 1/.style={sibling distance=4cm,level distance=1cm,growth parent anchor=south,nodes=event},
level 2/.style={sibling distance=4cm},
\node [event] {result}
    child {node {cause1}}
    child {node {cause2}}
    child {node {cause3}
        child{ node {subcause31}}
        child{ node {subcause32}}
        child{ node {subcause33}}
share|improve this question
Welcome to TeX.sx! No need to add thanks, simply upvote any good answers you may receive. – Peter Jansson Feb 12 '13 at 15:08

Replace -latex in edge from parent style with latex-.

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.