\documentclass[border=2mm]{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\begin{tikzpicture}
% create the node
\node[draw=none,minimum size=2cm,regular polygon,regular polygon sides=12] (a) {};
% draw a black dot in each vertex
\foreach \x in {1,2,...,8}
\fill (a.corner \x) circle[radius=2pt];
\foreach [evaluate=\x as \y using int(\x+1)] \x in {1,2,...,7}
\draw (a.corner \x) -- (a.corner \y);
\end{tikzpicture}
\end{document}