Question
When an alt frame is used in a sequence diagram, and one of the two possibility end the sequence, how is "legal" to continue?
example
I need to represent a sequence in wich there are user and atm
- the user insert card
- the atm verify card
- if card is valid, then it confirm card to user and the sequence continue
- if not it to user and the sequence Stop
can someone represent this simple example?
I made this sequence:
Is correct?
I assume that the part follow the alt frame imply that "good" case is verified?
Or I need to put all of the sequence of "good case" in the "good case alternative section"?
how can I handle this situation?
Thank's in advance!
ask for PIN
rather thaninsert PIN
. Andinvalid card
should be a return message (dashed line). – qwerty_so Sep 8 '19 at 22:19