Is there an easy way to draw multiple parallel edges from one node to another with an knee point (two 90 degree turns) and equally distributed distance between the edges (not really perfect in the demo graphic)?

enter image description here

1 Answer 1


You can use a double double line with another double line as postaction.

\begin{tikzpicture}[nodes={draw,thick,fill=yellow!80!black,minimum size=1cm,
    quadruple/.style={double distance=#1-\pgflinewidth,thick,
        postaction={draw,thick,double distance=#1/3-\pgflinewidth}},
 \path (0,0) node (A) {A} (3,3) node (B){B};
 \draw[quadruple] (A) -- ++ (1,0) |- (B);

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.