UML Sequence Diagrams
Sequence diagram is one kind of interaction diagram
. It focuses on the message
interchange between a number of lifelines
.
In ZenUml, we use a simple syntax for the main elements.
Lifeline
Lifeline is a named element
. Each lifeline
represents only one interacting entity.
How do popular tools define a lifeline
?
lifeline
?All the tools allows implicit definition of lifeline
and that is the default behavior and recommended way in ZenUml. However, most of them support explicit lifeline
definition. This is particularly useful when you want to have the lifeline
in an order different from when it appears in the text.
To generate a lifeline
like the above, here are the different way in some popular tools.
ZenUml (To be supported)
EventBus
Test it on the site
At the beginning of the text, each line with one This syntax can only be used at the beginning of the code. Each line for one lifeline
.
participants EventBus
JUMLY
@found "You"
Reply
Last updated