UseCase Diagrams¶
UseCase diagrams represent the behavior of the system in response to user requirement.
Creating UseCase Diagrams¶
UseCase diagrams can be added by the following procedure:
Click [UseCase Diagram] from [Diagram] on the Main Menu.
Use the context menu from [Structure] in [Project View].
Diagram Elements in UseCase Diagrams¶
¶ Type
Icon
Description
Select
The basic operations of the Diagram Editor can be executed in this mode.
Actor
Add an Actor.
UseCase
Add a UseCase.
Package
Add a Package.
Nest
Add a Nest.
Association (Navigable)
Add an Association (Navigable).
Association (Directed)
Add an Association (Directed). Select from the pull-down of the Association (Navigable).
Association (Non-navigable)
Add an Association (Non-navigable). Select from the pull-down of the Association (navigable).
Aggregation (Navigable)
Add an Aggregation (navigable). Select from the pull-down of the Association (navigable).
Aggregation (Directed)
Add an Aggregation (Directed). Select from the pull-down of the Association (navigable).
Composition (Navigable)
Add a Composition (Navigable). Select from the pull-down of the Association (navigable).
Composition (Directed)
Add a Composition (Directed). Select from the pull-down of the Association (navigable).
Extend
Add an Extend.
Include
Add an Include.
Generalization
Add a Generalization.
Dependency
Add a Dependency.
Refer to Common Diagram Elements for information on other items.
Actor¶
Creating an Actor¶
Actors can be created by the following procedure:
Select [Actor] in the Tool Bar and click on the diagram.
Use the context menu of the structure tree in [Project View].
Editing the Actor¶
Editing the Name¶
Name can be edited by the following procedure:
Double-click the name of the Diagram Element on the Diagram Editor and edit the name.
Edit from the [Base] tab in the Property View.
Adding a Stereotype¶
Stereotype can be added by the following procedure:
Select [Add Stereotype] from the context menu.
Add a stereotype from the [Stereotype] tab of the Property View.
UseCase¶
Creating a UseCase¶
UseCase can be created by the following procedure:
Double-click on the UseCase diagram.
Select [UseCase] in the Tool Bar and click on the diagram.
Use the context menu of the structure tree in [Project View].
Editing the UseCase¶
Editing the Name¶
Name can be edited by the following procedure:
Double-click the name of the diagram element on the Diagram Editor and edit the name.
Edit from the [Base] tab in the Property View.
Create Diagram¶
Right-click on the UseCase in the diagram and select [Create Diagram]. And select a Diagram Type.
A diagram is created under the specified UseCase.
Add an Extension Point¶
Extension Point can be added by the following procedure:
Select [Add Extension Point] from the context menu.
Add from the [Extension Point] tab of the Property View.
Adding a Stereotype¶
Stereotype can be added by the following procedure:
Select [Add Stereotype] from the context menu.
Add a stereotype from the [Stereotype] tab of the Property View.
UseCase Name Position¶
The UseCase name can be displayed at a different position.
Click [Name In Oval] in the context menu of UseCase to change the display position.
Include and Extend¶
Extend¶
Extend can be created by the following procedure:
Select [Extend] in the Tool Bar.
Select [Extend] using the Draw Suggest Feature.
Include¶
Include can be created by the following procedure:
Select [Add Included UseCase] from the context menu.
Select [Include] in the Tool Bar.
Select [Include] using the Draw Suggest Feature.
Note
Extend and Include are not a line that represents the Stereotype Dependencies. Even if you draw a line representing the Dependency and write “extend” or “include” in the Stereotype of the Dependency, Astah does not interpret them as Extend and Include.
Show Included UseCase¶
Select [Show Included UseCase] from the context menu.
All included UseCases are displayed.
Package¶
Refer to Block Definition Diagram Package for details.
Association¶
Creating an Association¶
Association can be created by the following procedure:¶
Select from [Association (Navigable)] , [Association (Directed)] , or [ Association (Non-navigable)] in the Tool Bar.
Select from [Association (Navigable)], [Association (Directed)], or [ Association (Non-navigable)] in the Draw Suggest.
Aggregation can be created by the following procedure:¶
Select from [Aggregation (Navigable)] or [Aggregation (Directed)] in the Tool Bar.
Select from [Aggregation (Navigable)] or [Aggregation (Directed)] in the Draw Suggest.
Composition can be created by the following procedure:¶
Select from [Composition (Navigable)] or [Composition (Directed)] in the Tool Bar.
Select from [Composition (Navigable)] or [Composition (Directed)] in the Draw Suggest.
Editing the Association¶
Name Setting¶
Association name can be created by the following procedure:
Select [Name Setting] from the context menu.
Edit from the [Base] tab in the Property View.
Association Name Direction¶
Select [Association Name Direction] from the context menu and click [Show] to switch the visibility of . Click [Reverse Direction] to reverse the direction of .
The Association Name must be set to show Association Name Direction.
Adding a Constraint¶
Constraint can be added by the following procedure:
Select [Add Constraint] from the context menu.
The Constraint type to be added depends on the clicking position.
Click near the center of the Association to add the Association Constraint.
Click near the start point of the Association to add the AssociationEnd A.
Click near the end point of the Association to add AssociationEnd B.
Add from the [Constraint A], [Constraint], or [Constraint B] tab in the Property View.
Editing the Aggregation¶
Aggregation can be edited by the following procedure:
Select either of [Aggregation], [Composition], or [None] from [Aggregation] in the context menu.
The Aggregation of the target closer to the context menu is set.
Edit from the [AssociationEnd A] and [AssociationEnd B] tab in the Property View.
Editing the Multiplicity¶
Multiplicity can be edited by the following procedure:
Select either of [1], [0..1], [0..*], [*], [1..*], or [Unspecified] from [Multiplicity] in the context menu.
The Multiplicity of the target closer to the context menu is set.
Select either of [1], [0..1], [0..*], [*], [1..*], or [Unspecified] from the Draw Suggest.
Edit from the [AssociationEnd A] and [AssociationEnd B] tab in the Property View.
Adding a Stereotype¶
Stereotype can be added by the following procedure:
Select [Add Stereotype] from the context menu.
Add a stereotype from the [Stereotype] tab of the Property View.
Generalization¶
Creating a Generalization¶
Generalization can be created by the following procedure:
Select [Generalization] in the Tool Bar.
Select [Generalization] in the Draw Suggest.
Editing the Generalization¶
Adding a Constraint¶
Constraint can be added by the following procedure:
Select [Add Constraint] from the context menu.
Edit from the [Constraint] tab of the Property View.
Adding a Stereotype¶
Stereotype can be added by the following procedure:
Select [Add Stereotype] from the context menu.
Add a stereotype from the [Stereotype] tab of the Property View.
Dependency¶
Creating a Dependency¶
Dependency can be created by the following procedure:
Select [Dependency] in the Tool Bar.
Select [Generalization] in the Draw Suggest.
Editing the Dependency¶
Adding a Constraint¶
Constraint can be added by the following procedure:
Select [Add Constraint] from the context menu.
Edit from the [Constraint] tab of the Property View.
Adding a Stereotype¶
Stereotype can be added by the following procedure:
Select [Add Stereotype] from the context menu.
Add a stereotype from the [Stereotype] tab of the Property View.