Can I completely remove a participant in Sequence Diagram after it has been used?

+1 vote
asked Apr 2, 2018 in Wanted features by preetika (200 points)
So in the following example,

@startuml
A -> B : Hi B
B -> C : Hi C
create D
A -> D : Hi D
C -> D : Hi D
destroy D
B -> A : ok
B -> C : Hello
@enduml

Even after I destroy D, it still says in the diagram. Is there any feature for you to have D only till it is used and not always.

A, B and C should function normally
Only D needs to be based on the time its being referenced.
commented Apr 3, 2018 by preetika (200 points)
commented Apr 23, 2019 by anonymous
I'm also looking for a way to do this. I need to be able to have an arrow go from a participant to a text box that does nothing else.

2 Answers

0 votes
answered Jun 10, 2020 by anonymous
I also looking for solution :(
0 votes
answered Jun 10, 2020 by The-Lu (64,760 points)

Hello All,

From:

A funny workaround is to recreate, at the end, the participant and to crop the final image!
But that is only a funny workaround! wink

== Cut here ==
create D
C -> D
== Cut here ==


[Click to see on the online server]

If that can help,
Regards,
Th.

commented Jun 13, 2020 by anonymous

Hihi , yes it's funny but tooootalllyyy useless :) wink

...