Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Calling another instance from inside callself leads to strange behaviour #23

Open
GoogleCodeExporter opened this issue May 7, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Create a thread and and instance
2. Put a call self in the thread
3. Embed a call to the instance in the previously defined call self

What is the expected output? What do you see instead?
I expect lines and arrows to start from the callself block. Arrows and lines 
start from the thread and there is a vertical space between thread and callself 
block.

What version of the product are you using? On what operating system?
I am using the texlive-pictures package (2013.20130722-1) on Ubuntu 13.10.

Please provide any additional information below.
I really like your package.

Here is an example code (output attached):

\documentclass{article}

\usepackage{tikz}
\usetikzlibrary{arrows,shadows}
\usepackage{pgf-umlsd}

\begin{document}

\begin{sequencediagram}
\newthread{thread}{Thread}
\newinst[1]{instance}{Instance}

\begin{callself}{thread}{foo(\ldots)}{return}
    \begin{call}{thread}{bar(\ldots)}{instance}{return}
    \end{call}
\end{callself}

\end{sequencediagram}

\end{document}

Original issue reported on code.google.com by Tino....@gmail.com on 21 Mar 2014 at 9:07

Attachments:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant