[pstricks] lines with arrow as triangle
Jean-Côme Charpentier
jean-come.charpentier at wanadoo.fr
Thu Feb 19 17:46:08 CET 2009
Michael Niedermair a écrit :
> Hi,
>
> is there a simple way to place a triangle (for a UML class diagram) as
> arrow?
There is!
> \ncline{-?}{B}{B}
Nope, arrows is still ->. If you want an arrow as a triangle, you can
redefine arrowinset:
\documentclass{minimal}
\usepackage{pstricks}
\usepackage{pst-node}
\begin{document}
\begin{pspicture}(2,2)
\pnode(0,0){A}
\pnode(2,2){B}
\psset{arrowinset=0}
\ncline{->}{A}{B}
\end{pspicture}
\end{document}
Jean-Côme Charpentier
More information about the PSTricks
mailing list