Skip to content

bend left / bend right has wrong ending using “name prefix” #1251

@keinstein

Description

@keinstein

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:

Antrieb3-crop-1

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions