I would like to draw an arrow from the tip of a curly bracket to a node, but if I do the following, an extra arrow point is drawn just above the tip of the brace.
\documentclass{article}
\usepackage{pgfplots}
\begin{document}
\usetikzlibrary{decorations.pathreplacing}
\begin{tikzpicture}
\node (A) at (0,0) {Hello};
\draw[decorate, decoration={brace, amplitude=10pt}] (2.2,-1.8) -- coordinate [left=10pt] (B) (2.2,-0.3) node {};
\draw[-latex] (B) edge (A);
\end{tikzpicture}
\end{document}
It looks very strange and I have no idea how this extra arrow got there. If I switch the B and the A like \draw[-latex] (A) edge (B);
, only one arrow is drawn, can anybody explain this and explain how to do the above correctly?
\documentclass{...}
and ending with\end{document}
.