Say I want to draw something like a flow chart, that is nodes connected by arrows that sometimes merge. This would be a typical pattern:
I used the following code to create this small example:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{positioning,calc,arrows.meta}
\begin{document}
\begin{tikzpicture}
\node[draw] (a) {A};
\node[draw,right=of a] (b) {B};
\node[draw,below=5mm of b] (c) {C};
\path[-{LaTeX[]}] (b) edge (c);
\draw (a) |- ($(b)!0.5!(c)$);
\end{tikzpicture}
\end{document}
Now the line from A hits the one between B and C precisely at its middle point. Given the arrow tip, however, this is not the visually most pleasant position. We'd want it to hit the middle point between the end of the arrow tip and B.
Short of tinkering with magic constants, how can we do this using TikZ?
\draw (a) |- ($(b)!0.5!(c)$)
to\draw (a) |- ($(b)!0.45!(c)$)
...