When I draw an edge between two nodes with anchors and globally set option [->], I get an additional arrow tip symbol at the beginning of the last edge in the path. For example in
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (A) at (0,0) {$A$};
\node (B) at (1,0) {$B$};
\draw[->] (A.north east) edge (B.north west);
\draw (A.south east) edge[->] (B.south west);
\end{tikzpicture}
\end{document}
the first \draw command produces incorrect output, while the second produces correct output:

Am I doing something wrong, or is this a bug in TikZ?
tips=properortips=on proper drawcan be used so that PGF/TikZ will not draw that lonely arrow tip of that otherwise empty parent path. Though, using\pathwithedgeis still the better solution to this problem – unless, of course, there is an actual path besides theedges. – Qrrbrbirlbel Nov 22 '22 at 11:40