Complete the code to name the main actor in a use case diagram.
actor [1]The main actor in a use case diagram is usually the User who interacts with the system.
Complete the code to define a use case named 'Login'.
usecase [1] as "Login"
Use cases are often labeled with identifiers like UC1 and given descriptive names.
Fix the error in the association between actor and use case.
actor User usecase UC1 as "Login" User [1] UC1
In use case diagrams, associations between actors and use cases are shown with a simple line --.
Fill both blanks to show an include relationship from 'Register' to 'Validate User'.
usecase Register as "Register" usecase ValidateUser as "Validate User" Register [1] ValidateUser [2]
The include relationship is shown with a dashed arrow <|.. pointing to the included use case.
Fill all three blanks to define an extend relationship from 'Make Payment' to 'Apply Discount' with condition '[if eligible]'.
usecase MakePayment as "Make Payment" usecase ApplyDiscount as "Apply Discount" MakePayment [1] ApplyDiscount [2] : [3]
The extend relationship uses a dashed arrow <|.. with a label showing the condition in square brackets.