Reputation: 61
how can i use a variable in sequence diagram.. while sequence diagram show object calling in timelines...
Upvotes: 4
Views: 9356
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:
Upvotes: 7