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

19 lines
400 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[->, max edge] (v1) -- (v2);
\draw[->, max edge] (v1) -- (v5);
\draw[->, max edge] (v2) -- (v3);
\draw[->] (v3) -- (v1);
\draw[->] (v3) -- (v5);
\draw[->, max edge] (v4) -- (v3);
\draw[->, max edge] (v5) -- (v4);
\end{tikzpicture}