<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\begin{tikzpicture}

\def\n {5}
\def\radius {2cm}

\foreach \i in {1,...,\n}
{
  \node[draw, circle] (v\i) at ({-360/\n * (\i+2)}:\radius) {$\i$};
}

  \draw[-&gt;] (v3) -- (v1);
  \draw[-&gt;] (v4) -- (v3);
  \draw[-&gt;] (v5) -- (v4);
\end{tikzpicture}
</pre></body></html>