[pstricks] A polygonal node
Herbert Voss
LaTeX at zedat.fu-berlin.de
Fri Apr 28 23:28:29 CEST 2006
Boris Veytsman wrote:
> HV> Date: Fri, 28 Apr 2006 23:08:56 +0200
> HV> From: Herbert Voss <LaTeX at zedat.fu-berlin.de>
>
> HV> Why can't you use \dianode ??
>
> I want to be able to set up the size of the polygon (even if there is
> nothing inside), and use other shapes besides triangles, squares,
> diamonds and ovals. Basicaly I want to have nodes of given size and
> given shape.
\begin{pspicture}(6,6)
\rput(3,3){\dianode{A}{}}
\rput(4,2){\dianode{B}{B}}
\rput(3,1){\dianode{C}{\parbox[c][30pt][c]{30pt}{\Huge C}}}
\ncline{A}{B}
\ncline{A}{C}
\end{pspicture}
Herbert
--
LaTeX und Perl in der ZEDAT: http://userpage.fu-berlin.de/~latex
More information about the PSTricks
mailing list