Topic
Prev Next

Diagram Context Menu

You can perform a wide range of tasks and operations on a diagram and its contents. To access and initiate these operations, you can select options from the diagram context menu.

Access

Context Menu

Right-click on diagram background

Options

Option

Action

See also

Extensions

Select this option to access a submenu of enabled Technologies on the system (for example, ArcGIS or TOGAF), each of which provides options for performing technology-specific operations on the diagram.

This option is available in the Professional, Corporate and Extended editions of  Enterprise Architect.

Domain Based Models

Scripts

Select this option to list the scripts available for execution directly from the diagram.

The option is not listed if there are no diagram scripts available.

Script Group Properties

Properties

Select this option to display and/or edit the diagram properties, using the 'Diagram Properties' dialog.

Diagram Properties

New Element or Connector

Select this option to add an element or connector to the diagram, by selection from a context-sensitive list.

Insert Elements & Connectors

Insert Other Element

Select this option to locate an existing element using the 'Select Element' dialog, and insert it into the diagram as a linked element.

Select Dialog

Synchronize Structural Elements

Select this option to show, on a SysML Internal Block diagram, all structural elements (such as Ports and Parts) relating to the Block that owns this diagram.

This command will also generate Properties defined by existing Association connectors.

Generate Properties From Block Associations

Hide Diagram Frame / Show Diagram Frame

The elements on the diagram are automatically enclosed in a Diagram Frame having the name of the Block element that owns the diagram. Click on these options to hide and redisplay this Diagram Frame. This option applies to these diagram types when the diagram is a composite diagram:

  • SysML Internal Block
  • SysML Activity
  • SysML Parametric
  • SysML StateMachine
  • UML StateMachine

Advanced

Select this option to access the options for more advanced operations, such as comparing the diagram to a Baseline or creating a Working Set Artifact.

Advanced Diagram Submenu

Paste Element(s) as Link / Paste Element(s) as New

Select these options to paste copied elements into the diagram as links or as new elements.

Copy Elements Between Diagrams

Paste Image from Clipboard

Select this option to paste an image held on the clipboard into the diagram.

Shortcut: Ctrl+Shift+Insert

Paste an image

Paste as Image Asset

Select this option to paste the contents of the clipboard as a new Image Asset Artifact on the diagram.

Image Assets

View as List

Select this option to display the diagram contents as a Diagram List instead of as a pictorial diagram.

Diagram List

View as Gantt

Select this option to display the diagram contents as a Gantt chart instead of as a pictorial diagram.

The Gantt View

Statechart Editor

For a StateMachine diagram, select this option to switch the current format of the diagram to:

  • Diagram
  • Table (State-Next State)
  • Table (State-Trigger) or
  • Table (Trigger-State)
State Machine Table

Swimlanes and Matrix

Select this option to add or modify Swimlanes or a Swimlanes Matrix on the diagram.

Swimlanes Matrix Swimlanes

Roadmap Options

Select this option to display the 'Roadmap options' dialog, which you use to define a Roadmap Timeline on the diagram.

Roadmap Diagrams

Kanban

Select this option to display the 'Kanban' dialog, through which you can define the structure, content and appearance of a new or existing Kanban diagram, or to convert a different type of diagram to a Kanban diagram.

Kanban Diagram Options

Lock Diagram

Select this option to lock the diagram to protect it from inadvertent changes.

This does not apply in the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions if security is enabled, in which case you lock the model elements.

Lock a Diagram Lock Model Elements

Context Filtering

Select this option to toggle context filtering within the diagram view.  By default, this will highlight the currently selected element and related elements within the diagram while making all other elements appear faded into the background.

Format Toolbar Context Filter a Diagram

Make all Elements Selectable

Select this option to make all the elements on the diagram selectable.

If an element is:

  • Selectable, you can move it around the diagram and perform right-click context-menu operations
  • Unselectable, you cannot move it around the diagram and the only right-click operation available is to make the element selectable

This option has no effect on double-click operations on the element, such as displaying child diagrams.

Modify Element Z Order

Select this option to re-sequence overlapping objects in the diagram.

This option both:

  • Numbers the objects in the diagram by Z-order, in red, and
  • Lists the objects by Z-order in the 'Modify Z Order' dialog

In the dialog, you select the required object and move it up or down in the Z-order using the Up and Down Arrow keys, each click on an Arrow key changes the Z-order by 1.

When you select the object in the list, that object is also selected on the diagram and its Z-order number is shown in blue.

Click on the OK button to save your changes.

On the diagram, you can move the focus from element to element according to Z Order, by pressing Shift+Tab. Each time you press these keys, the element with the next-lowest Z Order number is selected.

Diagram Context Menu Z Order Elements

Clear all Checklists

Select this option to clear all selected checkboxes within every Checklist Artifact element in the current diagram.

Using the Checklist and Audited Checklist Artifacts

Find in Project Browser

Select this option to locate the current diagram in the Project Browser.

Shortcut: Shift+Alt+G

Add to Working Set

Select this option to add the diagram to a Working Set, to display automatically when you open the model.

Working Sets

Set as User Default Diagram

(Available in the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions of Enterprise Architect; User Security must  be enabled.)

Select this option to make the current diagram the default diagram displayed when you re-open this model.

The User Default diagram overrides the Model Default diagram; the User Default setting is itself overridden by a project shortcut, which defines displays to present on opening the project.

To cancel a User Default diagram, either:

  • Create a dummy diagram, set it as the User Default and delete it, or
  • Delete the original diagram (if it is no longer relevant)

This still blocks the Model Default diagram, whilst security is enabled; to re-establish the Model Default diagram, set it as the User Default.

Import from source file(s)

Select this option to import, or reverse engineer, source code (the option is not available in the Desktop edition).

Import, or reverse engineer, source code

Import DB schema from ODBC

Select this option to import database tables from an ODBC data source (the option is not available in the Desktop edition).

Import database tables from an ODBC data source

Save Current Changes

Select this option to save any changes to the current diagram.

Shortcut: Ctrl+S

Execute Simulation

Select this option to list and select from three further options for performing a model simulation on a behavioral diagram:

  • 'Interpreted simulation' - Perform dynamic execution of a simulation (Corporate and Extended Editions)
  • 'Manual simulation' - Step through a simulation manually (the only option available in the Professional edition)
  • 'Using Script' - If simulation scripts exist for the diagram, list the scripts available; if no scripts exist, the option does not display
Set Up Simulation Script How It Works Model Simulation

Help

Select this option to view the Help on this type of diagram.

Notes

  • Not all the menu options described appear on the context menu of every diagram