27 lines
1.0 KiB
TeX
27 lines
1.0 KiB
TeX
\def\n{5}
|
|
\def\radius{2cm}
|
|
|
|
\begin{tikzpicture}[scale=.8]
|
|
\begin{scope}
|
|
\foreach \i in {1,...,\n}
|
|
\node[draw, small vertex] (v-\i) at ({-360/\n * (\i)}:\radius) {};
|
|
\foreach \u/\v in {1/2,2/3,3/4,4/5,5/1} \draw[-, thick] (v-\u) edge (v-\v);
|
|
\end{scope}
|
|
\begin{scope}[xshift=3*\radius]
|
|
\foreach \i in {1,...,\n}
|
|
\node[draw, small vertex] (v-\i) at ({-360/\n * (\i)}:\radius) {};
|
|
|
|
\foreach \u/\v in {1/2,2/3,3/4,4/5,5/1} \draw[-] (v-\u) edge (v-\v);
|
|
\foreach \u/\v in {1/4,4/2} \draw[-, thick] (v-\u) edge (v-\v);
|
|
\end{scope}
|
|
\begin{scope}[xshift=6*\radius]
|
|
\foreach \i in {1,...,\n}
|
|
\node[draw, small vertex] (v-\i) at ({-360/\n * (\i)}:\radius) {};
|
|
|
|
\foreach \u/\v in {1/2,2/3,3/4,4/5,5/1} \draw[-] (v-\u) edge (v-\v);
|
|
\foreach \u/\v in {1/4,4/2} \draw[-] (v-\u) edge (v-\v);
|
|
\foreach \u/\v in {3/5,5/2} \draw[-, thick] (v-\u) edge[bend left=60, out looseness=2.3] (v-\v);
|
|
\end{scope}
|
|
\end{tikzpicture}
|
|
|