I am using tikz-uml to create a UML sequence diagram. The sequence involves the object's life to die after an asynchronous call is made, and then it gets alive again after the response is got. Something like this:

enter image description here

However, i cannot recreate the same thing in in LaTeX TikZ-UML. This is what i get instead.

enter image description here

Here is my MWE.

\umlactor[no ddots]{user}
\umlobject[no ddots]{web}
\umlobject[no ddots]{DB}
\begin{umlcall}[op={\-}, return={\-}]{user}{web}
\begin{umlcall}[op={receive\_request}, return={send\_request}]{web}{DB}

How to end the object life and start the object life in between? They are simply asynchronous calls.

  • From a design perspective the behaviour of tikz-uml seems to make sense for me - how can I return a value to an object that does not exist anymore? – epR8GaYuh Jul 18 '18 at 20:31
  • Your MWE does not compile as no language is specified. You should consider adding \usepackage[english]{babel} (or something similar to the preamble of your MWE. – epR8GaYuh Jul 18 '18 at 20:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.