I want to draw a shortened squiggly arrow, like the following:
However, when I use shorten
in combination with squiggly
, I get a strange effect, where the shortened segment is drawn both as squiggly and as a straight line (rather than not drawn at all):
The code is:
\documentclass{article}
\usepackage{tikz-cd}
\usetikzlibrary{decorations.pathmorphing}
\begin{document}
\begin{tikzcd}
\bullet && \bullet
\arrow[shorten <=10pt, shorten >=10pt, squiggly, from=1-1, to=1-3]
\end{tikzcd}
\end{document}
Is there a way to work around this issue?