Is there a way to end a participant's line in a sequence diagram before the end of the diagram? For example if I want to display how database stored procedures call each other:
@startuml
participant SP0
SP0 -> SP0 : Do minor stuff
create participant SP2
SP0 -> SP2 : Exec SP2
SP2 -> SP2 : Insert into table Tbl
SP2 -> SP2 : Do other stuff
SP2 -> SP0
SP0 -> SP0 : Do minor stuff
@enduml
I would like to terminate SP2's line as soon as it returns processing to SP0. Furthermore, if I later call a complicated procedure SP3 from SP0, I would like to place it on the same level vertically as SP2.
I can remove the footer with hide footbox
but the line still stays there. Also activate
and destroy
don't end the line.
Thanks!
This option is not available on the sequence help. I suppose you have to have SP3
on the right side. A trick to shorten with the diagram's width is to add line breaks \n
on long messages or notes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With