Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How to place an arrow between two nodes at the same level of a tikz tree? I have used the following command on all nodes at the same level:

child {node (labelnode<number>) {textnode<number>}}

And have then used:

\draw [-latex] (labelnode5) -- (labelnode4); 

to draw an arrow from node with label "labelnode5" to node with label "labelnode4". At least, that was my intention. It did not work out and I wonder what I do wrong.

share|improve this question
1  
Hi Halbertsma. It is always preferable to post complete minimal working examples rather than code snippets because this helps people to answer you. – Claudio Fiandrino Feb 12 at 16:29
Figured it already: a semicolon should be placed after the last child before using the \draw function. – Halbertsma Feb 12 at 16:30
What did not work? You need to provide a full MWE... You probably need to precise which anchor to use, e.g. \draw [-latex] (labelnode5.east) -- (labelnode4.west); – Lionel MANSUY Feb 12 at 16:31

closed as too localized by Jake, Andrew Stacey, Kurt, Seamus, lockstep Feb 12 at 17:13

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.