The following uses the code given in https://tex.stackexchange.com/a/152195/. What is the easiest way to put the labels outside the circle encompassing a (regular) polygon. We have the option "above", "below" etc. But I would like to put the label outside the circle.
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}
% create the node
\node[draw=none,minimum size=4cm,regular polygon,regular polygon sides=7] (a) {};
% draw a black dot in each vertex
\foreach \x in {1,2,...,7}
\fill (a.corner \x) circle[radius=2pt];
\draw (0,0) circle (2cm);
\foreach \x in {1,2,...,7}
\node[label=below:{$x$}] at(a.corner \x){};
\end{tikzpicture}
\end{document}
