1 2 3 4 5 6
\usepackage {pstricks} \begin{pspicture}(-.2,-.5)(3,2)\showgrid \rput(.5,.5){\rnode{A}{\psframebox{Cat}}} \rput(2.5,1.5){\rnode{B}{\psframebox{Dog}}} \ncbar{A}{B} \end{pspicture}