The pst-node package provides the \ncdiag command, which allows you to connect two nodes with a diagonal line, but with an extra arm parameter which puts a bend in the line and allows the connections at each end to meet the node perpendicularly. Is there a simple way to get this effect in TikZ?
Here's an example (compile with latex or xelatex).
\documentclass{article}
\usepackage{tikz}
\usepackage{pst-node}
\begin{document}
\rput(0,3){\rnode{A}{Foo}}
\rput(2,0){\rnode{B}{Bar}}
\ncdiag[angleA=-90,angleB=90,arm=5mm]{A}{B}
\hspace{2in}
\begin{tikzpicture}
\node at (0,0) (A) {Bar};
\node at (-2,3) (B) {Foo};
\draw[thick] (A) -- (B);
\end{tikzpicture}
\end{document}



armA=<len>orarmB=<len>, or both usingarm=<len>(similar to specifying the angle for each individual node). – Werner Aug 11 '11 at 15:35pstrickscommand works; I'm really looking for how to do it intikz, since I've mainly moved away from usingpstricks, (although I used to use it a lot.) – Alan Munn Aug 11 '11 at 15:44pspicture? It makes no sense, especially in your case without using coordinates – Herbert Aug 11 '11 at 15:52\rnode{}{\rput(){}}not work while\rput(){\rnode{}{}}works? – xport Aug 11 '11 at 22:35