Following table summarizes the short cut syntaxes for participant creation, activation, deactivation, destruction.
Short cut |
Description |
++ |
Activate the target lifeline, you can optionally specify the #color |
-- |
Deactivate the source |
** |
Create an instance of the target |
!! |
Destroy an instance of the target |
shortCuts.txt
@startuml title Job Scheduler client -> sys1 ++ #lightgreen: Submit the task sys1 -> sys2 ++ #lightgreen: Submit the subtask t1 to sys2 sys1 -> sys3 ** #lightgreen: Submit the subtask t2 to sys3 sys2 -> sys4 ++ #lightgreen: Submit the subtask t1.1 to sys4 sys2 <- sys4 !!: Share the t1.1 task result sys1 <- sys3 -- : Share the t2 task result sys1 -> client: Share the task result @enduml
Above snippet generates below diagram.
Previous Next Home
No comments:
Post a Comment