I have drawn 4 nodes with
\documentclass[tikz,border=5pt]{standalone}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[node distance=2cm]
% nodes
\node [draw] (A) {A};
\node [draw, right=of A] (B) {B};
\node [draw, right=of B] (C) {C};
\node [draw, right=of C] (D) {D};
% arrows
\draw [->] (A) -- (B) -- (C) -- (D);
\end{tikzpicture}
\end{document}
I am trying to draw an arrow between each node.
If I use
\draw [->] (A) -- (B) -- (C) -- (D);
I get lines between each node but only an arrow from C to D.
Can I, in one line, draw arrows between all of the nodes?

edge[...] node {...} (target)won't appear.) – Raphael Oct 07 '15 at 19:10(A) edge node[pos=0.75,right] {a} (B)doesn't show nodea. – Zarko Oct 20 '15 at 02:05nodedoes not see the path of the edge. A workaround is to add the node to a non-drawn path:\path (A) -| node[pos=0.75,right] {a} (B);– Heiko Oberdiek Oct 20 '15 at 04:49\draw[->, to path={-| (\tikztotarget)}] ....this is not possible anymore (becauseedge targetis already incorporated into edge, I think so). Meanwhile i figured out an complicated solution ... if you interested, how I do this, see my upgrade of my answer on question http://tex.stackexchange.com/questions/273928/orthogonal-edges-style. And, thank you very much! – Zarko Oct 20 '15 at 14:19