This example is from the System layer title page of the TikZ and PGF manual.
Author: Till Tantau Source: The PGF/TikZ manual
Automata Do you have a question regarding this example, TikZ or LaTeX
in general? Just ask in the LaTeX Forum. Oder frag auf Deutsch auf
TeXwelt.de. En français: TeXnique.fr.
% Author: Till Tantau
% Source: The PGF/TikZ manual
\documentclass{
article}
\usepackage{
tikz}
\begin{
document}
\pagestyle{
empty}
\begin{
tikzpicture}[shorten >=1pt,->]
\tikzstyle{
vertex}=[circle,fill=black!25,minimum size=17pt,inner sep=0pt]
\foreach \name/\x in {
s/1, 2/2, 3/3, 4/4, 15/11,
16