SysML Diagrams

Use Case Diagram

Innoslate's ‘Use Case Diagram’ is a behavior diagram that shows how an actor interacts with a system under different use cases and their relationships.

Using Use Case Diagrams

Function Description
Creating Use Case Diagrams Using ‘Diagrams View’ in Innoslate, you can create a new ‘Use Case Diagram’.
Use Case Diagram Constructs The ‘Use Case Diagram’ supports two unique diagram constructs: a ‘Use Case’ and a ‘Performer.’
Adding a Use Case ‘Use Case’ construct can be added to a ‘Use Case Diagram’ via drag-and-drop.
Adding a Performer ‘Performer’ construct can be added to a ‘Use Case Diagram’ via drag-and-drop.
Adding a System Boundary A 'System Boundary' construct can be added to a 'Use Case Diagram.'
Assigning a Performer The ‘Performer’ of a ‘Use Case’ construct can be assigned in the ‘Use Case Diagram’ via drag-and-drop.
Removing a Construct A construct can be easily removed from a ‘Use Case Diagram.’

The ‘Use Case Diagram’ is a behavior diagram that shows how an Actor interacts with a system under different Use Cases and their relationships.

optimizing_cooling_system_use_case_diagram

Creating Use Case Diagrams

Within the ‘Diagrams Dashboard,’ users can create a new diagram by clicking the ‘ Create Diagram’ button in the top right corner of the page.

create diagram

Clicking the ‘Create Diagram’ button will open the Create Diagram dialog where you will be directed through the process of creating a new diagram.

Create a Use Case Diagram

  1. Choose Which Type of Diagram to Create
    In step 1, select ‘Use Case Diagram,’ under ‘SysML,’ as your diagram type.

    create_usecase_step1-1

     

    Click the ‘Next’ button.

    create_usecase_step1-2

  2. Specify New Root Action Information
    In step 2, you will be prompted to input a diagram ‘Name,’ ‘Number’ (optional), and ‘Description’ (optional). Then, click the ‘Finish’ button to save and automatically open your new Use Case Diagram.

    create_usecase_step2

Use Case Diagram Constructs

The ‘Use Case Diagram’ supports three unique diagram constructs: a ‘Use Case (Action)’, a ‘Performer (Asset)’ and a 'System Boundary.' Each diagram construct is described in more detail below:

  • Use Case (Action)

    In the system model, an Action entity is used to represent a ‘Use Case’ construct. In the diagram, this construct is represented as an oval and contains the name of the ‘Use Case.’

    use case construct use case diagram

  • Performer (Asset)

    In the system model, an Asset entity is used to represent a ‘Performer’ construct. In the diagram, this construct is represented as a stick figure with the name of the ‘Performer’ underneath.

    performer construct use case diagram

  • System Boundary

    A System Boundary is a rectangular visual representation utilized in a Use Case Diagram to distinguish between the Use Cases and Performers that occur internally and externally, within and outside of the System Boundary.

    system boundary construct use case diagram

Adding a Use Case

‘Use Case’ construct can be added to a ‘Use Case Diagram‘ via drag-and-drop.

  1. Within a ‘Use Case Diagram,’ click the ‘Use Case’ icon in the ‘New’ tab of the left sidebar and continue to hold down the left mouse button.

    add_usecase_step1

  2. Drag the ‘Use Case’ icon over to the adjacent diagram canvas

    add_usecase_step2
    or 'System Boundary'.
    drop use case
  3. Release the left mouse button while over the diagram canvas to drop the new ‘Use Case’ and add it to the diagram.

    add_usecase_step3

     

    Notice the ‘Use Case’ stays selected once it has been dropped. Since it is selected, the toolbar changes to include buttons for functions that can be used on the construct. The sidebar also changes to include additional ‘Metadata,’ ‘Attributes,’ and ‘Relationships’ tabs.

  4. Once added to the diagram, enter a meaningful ‘Name’ for your new ‘Use Case’ via the ‘Attributes’ tab of the left sidebar (focused automatically for convenience).

    add_usecase_step4

  5. Click the ‘Save’ button located on the toolbar to persist your changes to your project’s database.

    add_usecase_step5

* Note: The above process describes using the ‘New’ tab of the left sidebar, which automatically generates a new entity to represent each new diagram construct. If you would like to reuse existing entities from your database to represent a new construct, use the ‘Existing’ tab instead.

Adding a Performer

‘Performer’ construct can be added to a ‘Use Case Diagram‘ via drag-and-drop.

  1. Within a ‘Use Case Diagram,’ click the ‘Performer’ icon in the ‘New’ tab of the left sidebar and continue to hold down the left mouse button.

    add_performer_step1

  2. Drag the ‘Performer’ icon to the canvas.

    add_performer_step2

  3. Release the left mouse button while over the diagram canvas to drop the new ‘Performer’ and add it to the diagram.

    add_performer_step3

     

    Notice the ‘Performer’ icon stays selected once it has been dropped. Since it is selected, the toolbar changes to include buttons for functions that can be used on the construct. The sidebar also changes to include additional ‘Metadata,’ ‘Attributes,’ and ‘Relationships’ tabs.

  4. Once added to the diagram, enter a meaningful ‘Name’ for your new ‘Performer’ via the ‘Attributes’ tab of the left sidebar (focused automatically for convenience).

    add_performer_step4

  5. Click the ‘Save’ button located on the toolbar to persist your changes to your project’s database.

    add_performer_step5

* Note: The above process describes using the ‘New’ tab of the left sidebar, which automatically generates a new entity to represent each new diagram construct. If you would like to reuse existing entities from your database to represent a new construct, use the ‘Existing’ tab instead.

Adding a System Boundary

‘System Boundary’ construct can be added to a ‘Use Case Diagram‘ via drag-and-drop.

  1. Within a ‘Use Case Diagram,’ click the ‘System Boundary’ icon in the ‘New’ tab of the left sidebar and continue to hold down the left mouse button.

    add system boundary step 1
  2. Drag the ‘System Boundary’ construct to the canvas.

    add system boundary step 2

  3. Release the left mouse button while over the diagram canvas to drop the new ‘System Boundary’ and add it to the diagram.

    add system boundary step 3

     

    Notice the ‘System Boundary’ icon stays selected once it has been dropped. Since it is selected, the toolbar changes to include buttons for functions that can be used on the construct. The sidebar also changes to include a name field to name the System Boundary.

  4. Once added to the diagram, enter a meaningful ‘Name’ for your new ‘System Boundary’ via the ‘Name’ field on the left sidebar (focused automatically for convenience).

    add system boundary step 4

  5. Click the ‘Save’ button located on the toolbar to persist your changes to your project’s database.

    add system boundary step 5

Assigning a Performer

The ‘Performer’ of a ‘Use Case’ construct can be assigned in the ‘Use Case Diagram‘ via drag-and-drop. Both the “to-be” performed ‘Use Case’ and the ‘Performer’ constructs must be added to the diagram first before the performer can be assigned.

  1. Within the ‘Use Case Diagram,’ select the ‘Performer’ which you would like to assign to a ‘Use Case.’

    assigning_performer_step1

  2. Click the green circle and continue to hold down the left mouse button.

    assigning_performer_step2

  3. Drag the green circle over to the ‘Use Case’ of your choice.

    assigning_performer_step3

  4. When the parent ‘Use Case’ oval highlights green, release the left mouse button to add a performs/performed by relationship.

    assigning_performer_step4

  5. Once added to the diagram, the new relationship should appear as an arrow between the ‘Performer’ and ‘Use Case’ constructs.

    assigning_performer_step5

  6. Click the ‘Save’ button located on the toolbar to persist your changes to your project’s database.

    assigning_performer_step6

* Note: The above process describes using the ‘New’ tab of the left sidebar, which automatically generates a new entity to represent each new diagram construct. If you would like to reuse existing entities from your database to represent a new construct, use the ‘Existing’ tab instead.

Removing a Construct

A construct can be easily removed from a ‘Use Case Diagram.’

  1. Within a ‘Use Case Diagram,’ select the construct you wish to remove. This will make the toolbar appear with applicable functions which can be used on the selected construct.

    remove_usecase_step1

  2. Click the  ‘Remove’ button to remove the construct from the diagram (as the default action).

    remove_usecase_step2

    * Note: The  ‘Remove’ button also includes a drop-down menu where you can select ‘Delete from Database’ or the default option of ‘Remove from Diagram.

 

To continue learning about SysML Diagrams, Click Here.

(Next Article: Use Case Diagram Modifications & Settings)