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

Self call from a call from a self call lead to strange placement of arrows #29

Open
ebousse opened this issue Feb 11, 2017 · 2 comments

Comments

@ebousse
Copy link

ebousse commented Feb 11, 2017

When a self-call is made while we are still already inside a self-call of another object, it seems to shift the arrows to the right, like this:
dessin

To reproduce:

\documentclass[]{article}

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

\begin{document}

	\begin{sequencediagram}
	\newthread{t}{:Thread}
	\newinst{i}{:Inst}
	
	\begin{call}{t}{}{t}{}
		
		\begin{call}{t}{}{i}{}
			\begin{call}{i}{}{i}{}
			\end{call}
		\end{call}
	\end{call}
	
\end{sequencediagram}

\end{document}
ebousse added a commit to ebousse/pgf-umlsd that referenced this issue Feb 11, 2017
@ebousse
Copy link
Author

ebousse commented Feb 11, 2017

I've opened a pull request for fixing the issue #30

@IceflowRE
Copy link

The return arrow from :Inst is wrong placed too.

hmenke pushed a commit to hmenke/pgf-umlsd that referenced this issue May 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants