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 Composite Structure Diagram
  • Collaboration
  • Port
  • Part
  • Connector
  • Collaboration Use
  • Role Binding
  1. Working with UML Diagrams

Composite Structure Diagram

PreviousPackage DiagramNextObject Diagram

Last updated 4 years ago

Create Composite Structure Diagram

To create a Composite Structure Diagram:

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

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

See also

Collaboration

To create a Collaboration:

  1. Select Collaboration in Toolbox.

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

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

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

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

Port

To create a Port:

  1. Select Port in Toolbox.

  2. Click on the element (e.g. Class) where Port to be contained.

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

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

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

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

  • 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.

  • Select Type : Select a Classifier and assign it to type property.

  • Create Type : Create a Class and assign it to type property.

  • Add Provided Interface : Add a provided interface.

  • Add Required Interface : Add a required interface.

  • Add Connected Part : Add a connected part.

Part

To create a Part:

  1. Select Part in Toolbox.

  2. Click on the element (e.g. Class) where Part to be contained.

Note

Actually, Part is equivalent to Attribute but represented differently on diagrams.

Connector

To create an Connector:

  1. Select Connector in Toolbox.

  2. Drag from an element (e.g. Port) and drop on another element (e.g. Part).

Collaboration Use

To create a Collaboration Use:

  1. Select Collaboration Use in Toolbox.

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

Role Binding

To create an Role Binding:

  1. Select Role Binding in Toolbox.

  2. Drag from a Collaboration Use and drop on an element (e.g. Part).

For more information about UML Composite Structure Diagram.

You can use QuickEdit for Model Element (See ).

You can use QuickEdit for Port (See ).

You can use QuickEdit for Relationship (See ).

You can use QuickEdit for Model Element (See ).

You can use QuickEdit for Relationship (See ).

UML Composite Structure Diagram
Port
Model Element
Relationship
Model Element
Relationship
Composite Structure Diagram (from uml-diagram.org)