Language-Reference
  • Introduction
  • Overview
    • My Awesome API
    • Use vue-seuqnce in your own project
  • Methods
    • Actor in sequence diagram
    • UML Sequence Diagrams
    • plantuml.com
    • Defining Methods
    • websequencediagrams.com
  • New feature (Jan 2022)
Powered by GitBook
On this page
  • Lifeline
  • How do popular tools define a lifeline?
  • Reply
  1. Methods

UML Sequence Diagrams

PreviousActor in sequence diagramNextplantuml.com

Last updated 6 years ago

Sequence diagram is one kind of interaction diagram. It focuses on the message interchange between a number of lifelines.

In , 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?

All the tools allows implicit definition of lifeline and that is the default behavior and recommended way in . 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.

(To be supported)

EventBus

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

ZenUml
ZenUml
ZenUml
Test it on the site
websequencediagrams