[Tex/LaTex] draw two different arrows (from arrows library)

arrowstikz-pgf

I did'n find a way to draw two different arrows (from the arrows tikz library) between two nodes … For example, -triangle 45 at one extremity and -open triangle 90 at the other extremity. Any idea about how to do that ?

Best Answer

Simply place the specifications at either side of the -: open triangle 90-triangle 45, as in:

\documentclass{standalone}

\usepackage{tikz}
\usetikzlibrary{arrows}

\begin{document}
\begin{tikzpicture}
\node (a) {A};
\node (b) at (2,0) {B};
\draw[open triangle 90-triangle 45] (a) -- (b);
\end{tikzpicture}
\end{document}

arrows at either end