% A simple cycle
% Author : Jerome Tremblay
\documentclass{article}
\usepackage{tikz}
%%%<
\usepackage{verbatim}
\usepackage{verbatim}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{5pt}%
%%%>
\begin{comment}
:Title: A simple cycle
:Tags: Foreach;Graphs
:Author: Jerome Tremblay
:Slug: cycle
\end{comment}
\begin{document}
\begin{tikzpicture}

\def \n {5}
\def \radius {3cm}
\def \margin {8} % margin in angles, depends on the radius

\foreach \s/\sophie in {1/write,2/what,3/you,4/want,5/here}
{
  \node[draw, circle] at ({360/\n * (\s - 1)}:\radius) {\sophie};
  \draw[->, >=latex, shorten >=5pt,shorten <=5pt] ({360/\n * (\s - 1)+\margin}:\radius) 
    arc ({360/\n * (\s - 1)+\margin}:{360/\n * (\s)-\margin}:\radius);
}
\end{tikzpicture}
\end{document}
