I would like to draw a horizontal-vertical path between two nodes, with different radii of rounded corners.
Here's my original code (single-radius):
\documentclass[tikz]{standalone}
\usetikzlibrary{fit,arrows.meta,mindmap,shadows,backgrounds,calc,positioning,shapes.misc}
\tikzset{Arrow/.style={-{stealth},very thick}}
\begin{document}
\begin{tikzpicture} [every node/.style={draw,rectangle,rounded corners,minimum width=22mm},
every text node part/.style={align=center}]
\node (A) at (0,0) {A};
\node (B) at (5,5) {B};
\draw[Arrow,rounded corners=5pt]
% start at source
(A)
% go right and up to anchor
-| ($ (B.south) - (18.5mm,3mm) $)
% go right and up to target
-| ([xshift=-7mm]B.south)
;
\end{tikzpicture}
\end{document}
Results:
Now I would like the first turn to have a larger radius. The expected results should look like the following (please ignore the imperfections due to my bad GIMP skills):
I followed this answer to set a different radius for the first turn:
\documentclass[tikz]{standalone}
\usetikzlibrary{fit,arrows.meta,mindmap,shadows,backgrounds,calc,positioning,shapes.misc}
\tikzset{Arrow/.style={-{stealth},very thick}}
\begin{document}
\begin{tikzpicture} [every node/.style={draw,rectangle,rounded corners,minimum width=22mm},
every text node part/.style={align=center}]
\node (A) at (0,0) {A};
\node (B) at (5,5) {B};
\draw[Arrow,rounded corners=5pt]
% start at source
(A)
% go right and up to anchor
{ [rounded corners=30pt]
-| ($ (B.south) - (18.5mm,3mm) $)
}
% go right and up to target
-| ([xshift=-7mm]B.south)
;
\end{tikzpicture}
\end{document}
Results are not as expected:
Thank you very much in advance for your help!




\node (B) at (5,2.5) {B};and couldn't find parameters that give an acceptable result :( Could you please have a look? – f10w Jul 01 '20 at 14:20(A!0.5!B)(calc tikzlibrary). – John Kormylo Jul 01 '20 at 22:11($(A)!0.5!(B)$). – John Kormylo Jul 03 '20 at 00:52