StarUML documentation
v7
v7
  • Introduction
  • User Guide
    • Introduction
    • Basic Concepts
    • Managing Project
    • Managing Diagrams
    • Diagram Editor
    • Editing Elements
    • Formatting Elements
    • Annotation Elements
    • Managing Extensions
    • User Interface
    • CLI (Command Line Interface)
    • Validation Rules
    • Keyboard Shortcuts
    • TouchBar (MacBook)
    • Customization
  • Mermaid Support
  • Working with UML Diagrams
    • Class Diagram
    • Package Diagram
    • Composite Structure Diagram
    • Object Diagram
    • Component Diagram
    • Deployment Diagram
    • Use Case Diagram
    • Sequence Diagram
    • Communication Diagram
    • Timing Diagram
    • Interaction Overview Diagram
    • Statechart Diagram
    • Activity Diagram
    • Information Flow Diagram
    • Profile Diagram
  • Working with SysML Diagrams
    • Requirement Diagram
    • Block Definition Diagram
    • Internal Block Diagram
    • Parametric Diagram
  • Working with Additional Diagrams
    • Entity-Relationship Diagram
    • Flowchart Diagram
    • Data Flow Diagram
    • C4 Diagram
    • BPMN Diagram
    • Mindmap Diagram
    • Wireframe Diagram
    • AWS Architecture Diagram
    • GCP Architecture Diagram
  • Developing Extensions
    • Getting Started
    • Commands
    • Menus
    • Keymaps
    • Toolbox
    • Accessing Elements
    • Creating, Deleting and Modifying Elements
    • Working with Selections
    • Defining Preferences
    • Using Dialogs
    • Registering to Extension Registry
Powered by GitBook
On this page
  • Create Use Case Diagram
  • Use Case Subject
  • Actor
  • Use Case
  • Extension Point
  • Include
  • Extend
  1. Working with UML Diagrams

Use Case Diagram

PreviousDeployment DiagramNextSequence Diagram
Use Case Diagram (from uml-diagrams.org)

Create Use Case Diagram

To create a Use Case Diagram:

  1. Select first an element where a new Use Case Diagram to be contained as a child.

  2. Select Model | Add Diagram | Use Case Diagram in Menu Bar or select Add Diagram | Use Case Diagram in Context Menu.

See also

Use Case Subject

To create an Use Case Subject:

  1. Select Use Case Subject in Toolbox.

  2. Drag on the diagram as the size of Use Case Subject.

Actor

To create an Actor:

  1. Select Actor in Toolbox.

  2. Drag on the diagram as the size of Actor.

To create an Actor (model element only) by Menu:

  1. Select an Element where a new Actor to be contained.

  2. Select Model | Add | Actor in Menu Bar or Add | Actor in Context Menu.

You can use QuickEdit for Actor by double-click or press Enter on a selected Actor.

  • Name Expression : Edit name expression.

    Syntax of Name Expression

    expression ::= [ '<<' stereotype `>>` ] [ visibility ] name
    stereotype ::= (identifier)
    visibility ::= '+' | '#' | '-' | '~'
    name ::= (identifier)
  • Visibility : Change visibility property.

  • Add Note : Add a linked note.

  • Add Constraint : Add a constraint.

  • Add Attribute (Ctrl+Enter) : Add an attribute.

  • Add Operation (Ctrl+Shift+Enter) : Add an operation.

  • Add Sub-Actor : Add a sub-actor.

  • Add Super-Actor : Add a super actor.

  • Add Associated Use Case : Add an associated use case.

Use Case

To create an Use Case:

  1. Select Use Case in Toolbox.

  2. Drag on the diagram as the size of Use Case.

To create an Use Case (model element only) by Menu:

  1. Select an Element where a new Use Case to be contained.

  2. Select Model | Add | Use Case in Menu Bar or Add | Use Case in Context Menu.

You can use QuickEdit for Use Case by double-click or press Enter on a selected Use Case.

  • Name Expression : Edit name expression.

    Syntax of Name Expression

    expression ::= [ '<<' stereotype `>>` ] [ visibility ] name
    stereotype ::= (identifier)
    visibility ::= '+' | '#' | '-' | '~'
    name ::= (identifier)
  • Visibility : Change visibility property.

  • Add Note : Add a linked note.

  • Add Constraint : Add a constraint.

  • Add Extension Point (Ctrl+Enter) : Add an extension point.

  • Add Associated Actor : Add an associated actor.

  • Add Included Use Case : Add an included use case.

  • Add Extended Use Case : Add an extended use case.

Extension Point

To add an Extension Point:

  1. Select an Use Case.

  2. Select Model | Add | Extension Point in Menu Bar or Add | Extension Point in Context Menu.

You can use QuickEdit for Extension Point by double-click or press Enter on a selected Extension Point.

  • Name Expression : Edit name expression.

    Syntax of Name Expression

    expression ::= [ '<<' stereotype `>>` ] [ visibility ] name
    stereotype ::= (identifier)
    visibility ::= '+' | '#' | '-' | '~'
    name ::= (identifier)
  • Visibility : Change visibility property.

  • Add (Ctrl+Enter) : Add one more extension point in the below.

  • Delete (Ctrl+Delete) : Delete the extension point

  • Move Up (Ctrl+Up) : Move the extension point up.

  • Move Down (Ctrl+Down) : Move the extension point down.

Include

To create an Include:

  1. Select Include in Toolbox.

  2. Drag from a Use Case and drop on another Use Case (to be included).

Extend

To create an Extend:

  1. Select Extend in Toolbox.

  2. Drag from a Use Case (to be extended) and drop on another Use Case.

- For more information about UML Use Case Diagram.

You can use QuickEdit for Model Element (See ).

To suppress Attributes, see .

To suppress Operations, see .

To show or hide Operation Signatures, see .

To suppress Attributes, see .

To suppress Operations, see .

To show or hide Operation Signatures, see .

You can use QuickEdit for Relationship (See ).

You can use QuickEdit for Relationship (See ).

UML Use Case Diagram
Suppress Attributes
Suppress Operations
Show Operation Signature
Suppress Attributes
Suppress Operations
Show Operation Signature
Model Element
Relationship
Relationship