StarUML documentation
v6
v6
  • 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
  • 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 Object Diagram
  • Object
  • Slot
  • Artifact Instance
  • Component Instance
  • Node Instance
  • Link
  • Link Object
  1. Working with UML Diagrams

Object Diagram

PreviousComposite Structure DiagramNextComponent Diagram

Last updated 1 year ago

Create Object Diagram

To create a Object Diagram:

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

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

See also

Object

To create a Object:

  1. Select Object in Toolbox.

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

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

  • 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 Slot (Ctrl+Enter) : Add a slot.

  • Add Linked Object : Add a linked object.

Slot

To add an Slot:

  1. Select an Instance.

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

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

  • Slot Expression : Edit Slot expression.

    Syntax of Slot Expression

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

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

  • Delete (Ctrl+Delete) : Delete the slot

  • Move Up (Ctrl+Up) : Move the slot up.

  • Move Down (Ctrl+Down) : Move the slot down.

Artifact Instance

To create a Artifact Instance:

  1. Select Artifact Instance in Toolbox.

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

Component Instance

To create a Component Instance:

  1. Select Component Instance in Toolbox.

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

Node Instance

To create a Node Instance:

  1. Select Node Instance in Toolbox.

  2. Drag on the diagram as the size of Node Instance.

Link

To create an Link (or Directed Link):

  1. Select Link (or Directed Link) in Toolbox.

  2. Drag from an instance and drop on another instance.

You can also use QuickEdit for LinkEnd by double-click at the end side of an Link.

  • Name Expression : Edit name expression.

    Syntax of Name Expression

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

  • Navigability : Change navigability property.

  • Aggregation Kind : Change aggregationKind property.

  • Multiplicity : Change multiplicity property.

Link Object

To create a Link Object (instance of Association Class) by linking two Instances:

  1. Select Link Object in Toolbox.

  2. Drag from an element and drop on another element.

  3. A Link Object is created between the instances.

To create a Link Object by linking Link and Object:

  1. Select Link Object in Toolbox.

  2. Drag from a Link (or Object) and drop on an Object (or Link).

  3. The Object will be connected to the Link.

- For more information about UML Object Diagram.

You can use QuickEdit for Model Element (See ).

You can use QuickEdit for Model Element (See ).

You can use QuickEdit for Model Element (See ).

You can use QuickEdit for Relationship (See ).

UML Object Diagram
Object Diagram (from uml-diagrams.org)
Model Element
Model Element
Model Element
Relationship