I can't get this document to compile:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{snakes,arrows,shapes}
\begin{document}
\begin{tikzpicture}[>=latex',line join=bevel,]
\definecolor{strokecol}{rgb}{0.0,0.0,0.0};
\pgfsetstrokecolor{strokecol}
\draw (140.1bp,19bp) node {310e} edge [loop below] ();
\definecolor{strokecol}{rgb}{0.0,0.0,0.0};
\pgfsetstrokecolor{strokecol}
\draw (28bp,55.424bp) node {311r} edge [loop left] ();
%
%%circles around nodes
%31-, 310e and 311r
%fail here
\draw (311r) -- (310e);
\end{tikzpicture}
\end{document}
%
It fails when I add that last draw command, saying Package pgf Error: No shape named 311r is known.
, and another with "310e" instead of "311r". I just need to be able to draw lines with nodes as the anchors. Can anyone tell me what I am doing wrong?
... node (310e) {} ...
instead. Note the round brackets and braces.tikz
skill to do it properly.