\documentclass[tikz,border=2pt]{standalone}
\begin{document}
\begin{tikzpicture}
\node at (0,0) (A) {A};
\node at (0,1) (B) {B};
\node at (1,0) (C) {C};
\draw (A) -- (B) -- (C) -- cycle;
\end{tikzpicture}
\begin{tikzpicture}
\draw (0,0) node (A) {A} --
(0,1) node (B) {B} --
(1,0) node (C) {C} --
cycle ;
\end{tikzpicture}
\end{document}
Some of the subtitles of TikZ are a little confusing. The example above produces the following pictures
In the first case, the lines don't enter the node labels, but the cycle command isn't activated. In the second, the lines enter the node labels, but the cycle command is activated. I naively thought the two pictures should be the same. Why are the pictures different? Why do the lines behave differently? Why does cycle behave differently?
There is a similar question here.
Cycle option when drawing between nodes in TikZ
in which the answer explains that "bare nodes" do not have zero size. But it doesn't explain why the nodes are treated differently in these two cases. The phrase "bare node" does not appear in the TikZ Manual.

