januaryananda
januaryananda

Reputation: 407

Default condition in UML sequence diagram

I just created a sequence diagram that describe the log-out process. I started with making an actor lifeline called "dosen" that accessing "log out page".

How do I describe in that sequence diagram that user has logged in before he accessing log-out page?

Image of Sequence Diagram

Upvotes: 1

Views: 1064

Answers (1)

qwerty_so
qwerty_so

Reputation: 36313

You can place a note on the diagram. It is not necessary to describe everything formal. A constraint for example is best described with a short note.

On a side note: log out page does not seem to be an instance. Use only instances on sequence diagrams! The reason is simply that classes do not interact. Only their instances will. (And if I guess that you're using EA you run in trouble when not doing so!)

Upvotes: 1

Related Questions