Comments (8)
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 [email protected]
on 22 Oct 2013 at 8:45
- Changed state: Accepted
from pgf-umlsd.
[deleted comment]
from pgf-umlsd.
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 [email protected]
on 23 Oct 2013 at 10:27
from pgf-umlsd.
Still got these problems, yre you still working on this issue?
Original comment by [email protected]
on 28 Oct 2013 at 10:50
from pgf-umlsd.
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 [email protected]
on 28 Oct 2013 at 10:51
from pgf-umlsd.
I don't have this problem... can you provide the whole tex file which can
produce error?
Original comment by [email protected]
on 4 Nov 2013 at 2:31
from pgf-umlsd.
\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 [email protected]
on 10 Nov 2013 at 5:03
from pgf-umlsd.
Package pgf Error: No shape named inst1 is known \newinst[1]{i}{:Instance}
Original comment by [email protected]
on 10 Nov 2013 at 5:04
from pgf-umlsd.
Related Issues (20)
- distance between threads HOT 11
- sdblock requires a call HOT 3
- Provide an optional parameter for sequencediagram environment serving as a caption HOT 1
- sdblock frame should enclose the block description HOT 3
- Command \mess conflicts with the common font package Luxi fonts HOT 2
- Double dispatch does not indent thread block HOT 2
- The pgf-umlsd and pgf-umlcd packages conflict each other. HOT 1
- Multi-line functions/return values HOT 2
- Alternative blocks (dotted line, else statement) HOT 2
- Introduce commands to allow creating sequence diagrams within tikzpicture environment
- Option to disable shadows HOT 1
- Create a diagram without any threads HOT 1
- Add a shadow-option HOT 2
- Calling another instance from inside callself leads to strange behaviour
- parallel messages HOT 3
- Having a closing round parenthesis in a \mess label throws a fatal error HOT 4
- Self call from a call from a self call lead to strange placement of arrows HOT 2
- Message to self HOT 1
- Possibility for multicast messages/calls
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgf-umlsd.