-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Labels
Description
Brief outline of the bug
When an edge is bended using bend left or bend right the line endings are not calculated correctly in combination with name prefix and nodes. One end ends at the shape border, the other not. If the name is given explicitely, the line is drawn correctly.
Example:
The left edge shows the error, while the right two edges show the correct behaviour.
I assume that the error is connected to the calculation or usage of \tikz@second@point in \tikz@@@to@compute@relative .
Minimal working example (MWE)
\documentclass{minimal}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[every node/.style={draw},name prefix=pre]
\node (1) at (0,0) {};
\node (2) at (-1.429,1.786){};
\node (3) at (0,1.429){};
\node (4) at (1.429,1.786){};
\path[draw,bend left] (1) edge (2);%
\path[draw] (3) edge (4);
\draw[/tikz/bend right](pre3) edge (pre4);
\end{tikzpicture}
\end{document}