Please add shortcut syntax to both deactivate source and activate target

0 votes
asked May 16, 2019 in Wanted features by Daniel

Sequence diagrams have special shortcut syntax to deactivate source, or to activate target. However there is no syntax which would allow to perform both. This would be helpful for diagrams with multiple participants, which performs some action in response to incoming message, and then forwards it to next one for further processing.

For example there are multiple participants which forwards message to next one:

@startuml
A -> B: Msg
activate B
B -> C: Msg
deactivate B
activate C
C -> D: Msg
deactivate C
@enduml

It would be nice to be able to specify multiple shortcuts to express this, e.g. "-- ++". This should also work with ** and !! - e.g. allow to use "-- ** ++".

1 Answer

0 votes
answered Mar 8, 2021 by The-Lu (63,920 points)

Hello D.,

FYI, this new functionality is just implemented (on v1.2021.2),

See also:

With that, we can observed the expected result:

@startuml
A -> B ++: Msg
B -> C --++: Msg
C -> D --: Msg
@enduml

Thanks for PlantUML.

Regards,
Th.

...