You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
I would like to draw additional stuff in the sdl diagram. therefor I need to
reference the points where a message starts and ends.
It could be solved something like this (untested):
# Usage: \sdnode{reference of instance}{level}
\newcommand{\sdnode}[2]{$(#1)+(0,2*\unitfactor-0.7*\unitfactor)$}
Then you could call something like:
\draw (\sdnode{inst1}{2}) rectangle (\sdnode{inst3}{5})};
Original issue reported on code.google.com by [email protected] on 25 Jul 2011 at 10:06
The text was updated successfully, but these errors were encountered:
maybe providing the points by given instant name and message name is better,
because the idea of this package is user doesn't have to care about positions
(such as level)
I ended up simply drawing directly into the picture:
\begin{sequencediagram}
\newinst{ausweis}
\newinst[1cm]{buerger}
...
\begin{pgfonlayer}{background}
\fill [opacity=.05]
($(ausweis)+(.5,-7.2*\unitfactor-0.7*\unitfactor)$) rectangle
($(buerger)+(-.5,-11.1*\unitfactor-0.7*\unitfactor)$);
\end{pgfonlayer}
\end{sequencediagram}
The above example draws a rectangle around the 7th and 11th calls.
Original issue reported on code.google.com by
[email protected]
on 25 Jul 2011 at 10:06The text was updated successfully, but these errors were encountered: