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