Model
Model

Reputation: 61

variables in sequence diagram

how can i use a variable in sequence diagram.. while sequence diagram show object calling in timelines...

Upvotes: 4

Views: 9356

Answers (1)

Volker Stolz
Volker Stolz

Reputation: 7402

You can use formal/actual parameters on the messages, and action-boxes on a particular lifeline, filled with your own specification language, e.g. Java-style assignments. The example below is for Message Sequence Charts, but works roughly the same for UML sequence diagrams, I just couldn't find a screenshot in a hurry:alt text

Upvotes: 7

Related Questions