Is there a fast way to add a central vertex connected to all others after drawing the cycle graph using the graph library of the tikz package?
This is what the code currently looks like:
\documentclass{article}
\begin{document}
\usepackage{tikz}
\usetikzlibrary{graphs,graphs.standard}
\begin{tikzpicture}[scale=0.8,every node/.style={scale=0.8}]
\graph [nodes={circle,fill=black!25}, edges={black!60, semithick}, clockwise, radius=8em,
n=9, p=0.3]
{ subgraph C_n [n=6,m=3,clockwise,radius=2cm] };
\end{tikzpicture}
\end{document}
documentclass
,\begin{document}
, ...