Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

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     Open diagram | Right-click on diagram background





See also


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


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


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 <Item> 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

On a SysML Internal Block diagram, the elements 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.





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.


Ctrl+Shift+ Insert

Paste an image

Switch to List View

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



Diagram List

Switch to Gantt View

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 State Machine diagram, select this option to switch the current format of the diagram to:

·Table (State-Next State)
·Table (State-Trigger) or
·Table (Trigger-State)



State Machine Table

Swimlanes, Matrix and Kanban

Select this option to add or modify Swimlanes or a Swimlanes Matrix on the diagram, or apply the Kanban facilities.



Swimlanes Matrix

Kanban Facilities


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.

Context Filtering by name or alias can also be applied using the Format Toolbar.



Context Filter a Diagram



Format Toolbar

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.






Z Order Elements

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

Find in Project Browser

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





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.




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


Model Simulation

How It Works



Set Up Simulation Script


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





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