PAA/gfx/mas-2.tex
2018-01-21 16:44:36 +01:00

16 lines
272 B
TeX

\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[->] (v1) -- (v2);
\draw[->] (v1) -- (v5);
\draw[->] (v2) -- (v3);
\draw[->] (v3) -- (v5);
\end{tikzpicture}