1 2 3 4 5
\begin{pspicture}(-.2,-.5)(3,1)\showgrid \rput(.5,.5){\dianode{A}{Cat}} \rput(2.5,.5){\dianode{B}{Dog}} \ncline{A}{B} \end{pspicture}