is there a syntax that allows using a line as a node in tikz? In the following example:
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
%dummy nodes
\node (A) at (0,0) {};
\node (B) at (5,0) {};
\node (C) at (2,-5) {};
\draw (A)--(B);
\draw (C)--(2,0);
\end{tikzpicture}
\end{document}
I'd like to write something such as \draw (C)--[(A)--(B)] instead of \draw (C)--(2,0). Of course in this example I know the nodes' coordinates explicitly, but in my actual diagram I don't, and whenever I add something that changes the size of it, I have to trial-and-error adjust the coordinate of the explicit node.
Thanks
