[Tex/LaTex] How to make “L” shaped arrows with curved edge

tikz-arrowstikz-pgf

I simplified this example from here, however what I am looking is an "L" shaped arrow that curves when it gets to the same height as A which can be seen in the below figure. The red curve is the one that I want.

enter image description here

Here is the code that I have right now for the black arrow.

\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
  \node[anchor=east] at (0,0) (text) {A};
  \node[anchor=west] at (5,5) (description) {B};
  \draw (description) edge[out=180,in=0,->] (text);
\end{tikzpicture}
\end{document}

Best Answer

Add rounded corners to the path properties. You can control this by setting a value.

enter image description here

\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
  \node[anchor=east] at (0,0) (text) {A};
  \node[anchor=west] at (5,5) (description) {B};
  \draw[rounded corners=10pt](description) |- (text);
  \draw[red, rounded corners=25pt](description) |- (text);
  \draw[green, rounded corners=50pt](description) |- (text);
\end{tikzpicture}
\end{document}