[pstricks] node connections between corners of a rectangle

vin gui vin.gui at laposte.net
Tue Apr 29 09:52:54 CEST 2003


Hello,

I would like to use pst-node to make a connection between the _corners_
of rectangle nodes. I can make easily a connection between the sides 
using \ncdiag something like

\rput(0,0){\rnode{node1}{\psframebox{$G_1*G_2$}}}
\rput(3,-2){\rnode{node2}{\psframebox{$H$}}}
\ncdiag[angleA=0,angleB=180,arm=0]{node1}{node2}

But do I have to fiddle manually with the angles so that
the connecting lines joins two corners of the nodes ?
Or could anyone help me finding a clever way ?

Many thanks !

Vincent Guirardel.




More information about the PSTricks mailing list