In the following MWE, why does the segments don't go up to the points I have defined?
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (A) at (0,0) {};
\node (B) at (2,4) {};
\node (C) at (5,0) {};
\draw (A) -- (B) -- (C) -- cycle;
\end{tikzpicture}
\end{document}


\coordinateinstead of\node. A node has a finite size, which what you are seeing here. – Jun 07 '20 at 07:45drawto yours\node. Ex:\node[draw] (A) at (0,0) {};– Paul Gaborit Jun 07 '20 at 08:38