# UML Sequence Diagram with PGF and Tikz produces “No shape named inst1 is known”

I've recently started using LaTeX for all my documentation and can't believe I didn't do this sooner! It's so quick to get good-quality documentation produced, and the LaTeX format serves brilliantly as an interim format for conversion to others. I'm having a lot of fun :D

What I want to do presently is write a sequence diagram for a software build process. I'm using Tex Live 2011 and pdflatex (same result using plain old latex) in Cygwin on Windows XP to process my .tex file:

\documentclass{article}

\usepackage{tikz}
\usepackage{pgf-umlsd}
\usepgflibrary{arrows} % for pgf-umlsd
\begin{document}

\begin{figure}
\centering

\begin{sequencediagram}
\end{sequencediagram}

\end{figure}

\end{document}


As you can see, it's very simple.

When I run this through latex/pdflatex I get:

) (./build-process.aux) ABD: EveryShipout initializing macros

! Package pgf Error: No shape named inst1 is known.

See the pgf package documentation for explanation.
Type  H <return>  for immediate help.
...

l.12   \end{sequencediagram}

?


What am I doing wrong? Furthermore, will my platform and software suffice to allow me to write sequence diagrams in LaTeX?

-
Note: the output is snipped somewhat to only show the error. –  atc Aug 3 '11 at 10:45
Does swapping around the \uspackage{pgf-umlsd} and the \usetikzlibray{arrows} help? –  Seamus Aug 3 '11 at 10:51
No, I placed \usetikzlibrary{arrows} before \usepackage{pgf-umlsd} and it didn't help. –  atc Aug 3 '11 at 11:01