StarUML documentation
v4
v4
  • Introduction
  • User Guide
    • Introduction
    • Basic Concepts
    • Managing Project
    • Managing Diagrams
    • Editing Elements
    • Formatting Diagram
    • Annotation Elements
    • Managing Extensions
    • User Interface
    • Validation Rules
    • Keyboard Shortcuts
    • TouchBar (MacBook)
    • Customization
  • 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
  • Developing Extensions
    • Getting Started
    • Commands
    • Menus
    • Keymaps
    • 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 Component Diagram
  • Component
  • Artifact
  • Component Realization
  1. Working with UML Diagrams

Component Diagram

PreviousObject DiagramNextDeployment Diagram

Last updated 4 years ago

Create Component Diagram

To create a Component Diagram:

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

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

See also

Component

To create a Component:

  1. Select Component in Toolbox.

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

To create a Component (model element only) by Menu:

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

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

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

  • 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 Reception : Add a reception.

  • Add Provided Interface : Add a provided interface.

  • Add Required Interface : Add a required interface.

  • Add Port : Add a port.

  • Add Part : Add a part.

Artifact

To create a Artifact:

  1. Select Artifact in Toolbox.

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

To create a Artifact (model element only) by Menu:

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

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

Component Realization

To create an Component Realization:

  1. Select Component Realization in Toolbox.

  2. Drag from an element (realizing) and drop on a Component (to be realized).

- For more information about UML Component Diagram.

To suppress Attributes, see .

To suppress Operations, see .

To show or hide Operation Signatures, see .

You can use QuickEdit for Classifier (See ).

To suppress Attributes, see .

To suppress Operations, see .

To show or hide Operation Signatures, see .

You can use QuickEdit for Relationship (See ).

UML Component Diagram
Suppress Attributes
Suppress Operations
Show Operation Signature
Suppress Attributes
Suppress Operations
Show Operation Signature
Classifier
Relationship
Component Diagram (from uml-diagrams.org)