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