tikz-network icon indicating copy to clipboard operation
tikz-network copied to clipboard

Edge path incompatible with arrows

Open carissableker opened this issue 5 years ago • 1 comments

When using a path= in edge specifications, issues occur in styling the arrow head, both using style= or Direct. MWE and screenshot below.

Perhaps this can be noted in the documentation.

\documentclass{standalone}
\usepackage{tikz-network}
\begin{document}

\begin{tikzpicture}
\Vertex[x=-2, y=1]{z1}
\Vertex[x=-1, y=0]{z2}

\Edge[style={-{latex}}, path={z1, {1, 1}, z2}](z1)(z2)
\end{tikzpicture}

\begin{tikzpicture}
\Vertex[x=-2, y=1]{z1}
\Vertex[x=-1, y=0]{z2}

\Edge[Direct, path={z1, {1, 1}, z2}](z1)(z2)
\end{tikzpicture}

\end{document}

image

carissableker avatar Sep 08 '20 13:09 carissableker

Thank you. I will have a look at this issue.

hackl avatar Sep 09 '20 08:09 hackl