I want to connect two nodes with one edge so that it bends twice.
For instance,
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (A) {A};
\node (B) [below of=A] {B};
\draw[->] (A.east) -- (B.east);
\end{tikzpicture}
\end{document}
will connect the two nodes with a straight line, but I want something like this
For this I would draw using -|- as a parameter to \draw, but that doesn't compile.
How can I get that line with two straight bends?



(A) -| ++(2em, -1em) |- (B);– percusse Dec 28 '17 at 12:11ems – percusse Dec 28 '17 at 12:16paths.ortho! – CarLaTeX Dec 28 '17 at 12:28