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 Package Diagram
  • Package
  • Model
  • Subsystem
  • Containment
  1. Working with UML Diagrams

Package Diagram

PreviousClass DiagramNextComposite Structure Diagram

Last updated 4 years ago

Create Package Diagram

To create a Package Diagram:

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

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

See also

Package

To create a Package on a diagram:

  1. Select Package in Toolbox.

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

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

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

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

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

  • 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 Sub-Package : Add a sub-package.

  • Add Dependant Package : Add a dependant package.

  • Add Depending Package : Add a depending package.

Model

To create a Model on a diagram:

  1. Select Model in Toolbox.

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

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

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

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

Subsystem

To create a Subsystem on a diagram:

  1. Select Subsystem in Toolbox.

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

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

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

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

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

  • 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 Provided Interface : Add a provided interface.

  • Add Required Interface : Add a required interface.

Containment

To make an Containment relation:

  1. Select Containment in Toolbox.

  2. Drag from an element (to be contained) and drop on a container element.

Note

There is no Containment model element. The Containment view element only show the containment relationship between two elements. (Contained elements are shown as children in Model Explorer)

- For more information about UML Package Diagram.

You can use QuickEdit for Model Element (See ).

UML Package Diagram
Model Element
Package Diagram