My code:
\documentclass[]{article}
\usepackage[english]{babel}
\usepackage{tikz}
\usetikzlibrary{graphs}
\begin{document}
\pagenumbering{gobble}
\begin{tikzpicture}
\graph [nodes={draw, circle}, clockwise, radius=.75cm, empty nodes, n=8] {
subgraph C_n [name=inner] <->[shorten <=1pt, shorten >=1pt]
subgraph C_n [name=outer]
};
\end{tikzpicture}
\end{document}
produces the following figure:
instead of the intended figure:
Why could this be?
\usetikzlibrary{graphs.standard}
. In don't know why this is not stated in the manual.Package pgf Warning: Returning node center instead of a point on node border. Did you specify a point identical to the center of node ``subgraph C_n''? on input line 12.