Code: Select all
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (A) at (0,0) {};
\node (B) at (-4,2) {};
\draw[black,fill=black] (B) circle (1pt);
\draw[black,fill=black] (A) circle (1pt);
\draw[->] (B) -- ([shift=({1,1})]A);
\draw[->] (B) -- ([shift=({1,1})]B);
\end{tikzpicture}
\end{document}
But instead I get an arrow from B to A, and an arrow from B to B.
Why is that?
Thanks!