In this assignment, create three separate activity diagrams in Violet. Whenever an exact diagram label is shown between the plain-text markers, copy only the enclosed text into the appropriate box or arrow. Do not type the markers or add quotation marks to the label. Use the standard Violet start and end nodes; they do not need text labels.
AirlineName?
Delta American Airlines United
Delta Go to Gate 5
American Airlines Go to Gate 7
United Go to Gate 10
Digital boarding pass?
Label the arrow to the phone action with: true
Label the arrow to the next decision with: false
Physical boarding pass?
Its arrow to the pass action must be labeled: true
Its arrow to the next decision must be labeled: false
Airline employee?
Its arrow to the badge action must be labeled: true
Its arrow to the terminal-exit action must be labeled: false
Show phone Show pass Show badge
Connect all three credential action boxes to one shared action box with this exact label, then connect it to the final node: Enter plane
false branches. Connect it directly to the final node. Do not connect this path to the plane-entry action.Exit terminal
false branches.PassengersRemaining > 0?
Label the arrow that continues to the plane-capacity decision with: while
Label the arrow that exits the loop condition with: done
while path, add a second decision node with this exact label:Plane full?
Label the full-plane arrow with: true
Label the not-full arrow with: false
The full-plane arrow leads to an action box with this label: break
The not-full arrow leads to an action box with this label: PassengersRemaining--
break action to an action box with this exact label. The done arrow from the loop-condition decision must also lead to this same action box. Connect it to the final node.Close door
PassengersRemaining > 0? so the condition is checked again after the count decreases.while and done labels and the plane-full decision arrows are labeled with the exact true and false labels. The true path must go through break and Close door; the false path must decrease the count and return to the loop condition.