A slight change in TikZ code makes arrows disappear. I want to know what went wrong.
Consider the following code:
\documentclass[tikz]{standalone}
\usetikzlibrary{arrows,decorations.markings}
\begin{document}
\begin{tikzpicture}
[myarrow/.style={
decoration=
{markings,mark=at position 0.9999 with {\arrow[line width=0.1mm, scale=2]{stealth'}}},
postaction={decorate}
}]
\node[circle,draw] (A) at (0,2) {A};
\node[circle,draw] (B) at (2,2) {B};
\node[circle,draw] (C) at (0,0) {C};
\node[circle,draw] (D) at (2,0) {D};
\node (E) at (1,1.5) {};
\draw[myarrow] (A) -- (B);
\draw[myarrow] (E) to [out=270,in=20] (C);
\draw[myarrow] (E) to [out=270,in=160] (D);
\end{tikzpicture}
\end{document}
Compiling it with pdflatex generates the following figure without errors:
But, if the number 0.9999 in the 7th line in the code is replaced with 1, then
the arrow at B remains, but the arrows at C and D disappear (without error messages).
Can anyone help, please?