Open GoogleCodeExporter opened 9 years ago
Hi,
could you try current dev version:
https://code.google.com/p/pgf-umlsd/source/browse/dev/pgf-umlsd.sty
the simple usage:
https://code.google.com/p/pgf-umlsd/source/browse/dev/demo/call-from-outside.tex
I hope this is what you wanted.
Original comment by xuyuan...@gmail.com
on 22 Oct 2013 at 8:45
[deleted comment]
the following sequencediagramm
\begin{figure}[h]
\centering
\begin{sequencediagram}
\newhiddenthread{t}{mythread}
\newinst{peter}{peter}
\newinst[2]{lampe}{lampe}
\newinst[2]{toilette}{toilette}
\newinst[2]{wecker}{wecker}
\begin{call}{peter}{schlafenBis("6:45")}{peter}{}\end{call}
\begin{call}{peter}{gibZeit() : String}{wecker}{}\end{call}
\begin{call}{peter}{geheZumBad()}{peter}{}\end{call}
\begin{call}{peter}{einschalten()}{lampe}{}\end{call}
\begin{call}{peter}{spülen()}{toilette}{}\end{call}
\end{sequencediagram}
\caption{Sequenzdiagramm}
\end{figure}
produces many errrors :( but yes this is what i wanted :)
errors:
Package pgf Error: No shape named inst1 is known \newinst{peter}{peter}
Package pgf Error: No shape named inst2 is known \newinst[2]{lampe}{lampe}
Package pgf Error: No shape named inst3 is known \newinst[2]{toilette}{toilette}
Package pgf Error: No shape named inst4 is known \newinst[2]{wecker}{wecker}
Original comment by sharkysh...@googlemail.com
on 23 Oct 2013 at 10:27
Still got these problems, yre you still working on this issue?
Original comment by sharkysh...@googlemail.com
on 28 Oct 2013 at 10:50
Taking your code
\begin{figure}[h]
\begin{sequencediagram}
\newhiddenthread{t}{:Thread}
\newinst[1]{i}{:Instance}
\begin{call}{t}{function()}{i}{return value}
\end{call}
\end{sequencediagram}
\end{figure}
Produces error : Package pgf Error: No shape named inst1 is known
\newinst[1]{i}{:Instance}
Original comment by sharkysh...@googlemail.com
on 28 Oct 2013 at 10:51
I don't have this problem... can you provide the whole tex file which can
produce error?
Original comment by xuyuan...@gmail.com
on 4 Nov 2013 at 2:31
\documentclass{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{geometry}
\geometry{a4paper, top=20mm, left=20mm, right = 20mm, bottom = 20mm, headsep =
5mm, footskip = 5mm}
\usepackage{amsmath}
\usepackage{fancyhdr}
\usepackage{tikz}
\usetikzlibrary{mindmap,trees}
\usepackage{longtable}
\usepackage{enumerate}
\usepackage{lscape}
\usepackage{pdfpages}
\usepackage{svg}
\usepackage{pgf-umlsd}
\usepgflibrary{arrows}
%Dokumentanfang
\begin{document}
\begin{figure}[h]
\begin{sequencediagram}
\newhiddenthread{t}{:Thread}
\newinst[1]{i}{:Instance}
\begin{call}{t}{function()}{i}{return value}
\end{call}
\end{sequencediagram}
\end{figure}
\end{document}
Original comment by sharkysh...@googlemail.com
on 10 Nov 2013 at 5:03
Package pgf Error: No shape named inst1 is known \newinst[1]{i}{:Instance}
Original comment by sharkysh...@googlemail.com
on 10 Nov 2013 at 5:04
Original issue reported on code.google.com by
sharkysh...@googlemail.com
on 21 Oct 2013 at 1:31