I have two nodes which should be connected by edges, one going from A to B and one from B to A. The problem is, that they do overlap but I want to show them as separate arrows - so one might shift slightly to the right the other slightly to the left. How might achieve this?
(There seems to be a solution in there TikZ parallel Edges between Nodes but the examples are too complex, so I cannot separate the automation stuff from the placing edges side by side stuff.)
minimal example:
\documentclass[border=3mm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[->]
\node (1) {A};
\node (2) [below of=1] {B};
\path[every node/.style={font=\sffamily\small}]
(1) edge node [left] {edge1} (2)
(2) edge node [right] {edge2} (1)
;
\end{tikzpicture}
\end{document}
result:

