/
How to change the order of participants

How to change the order of participants

The participant shows in the diagram in the order that they appear in the code. You can change that order by declaring them first.

A C B A.method() B.method() C.method()

 

Related content

Basic Concepts
Basic Concepts
Read with this
Coloring and styles
Coloring and styles
Read with this
Sequence diagram syntax
Sequence diagram syntax
Read with this
Get started
Get started
Read with this