Prev | Next |
Operations on Multiple Elements
It is possible to perform various operations on two or more elements on a diagram at once, either to add the same feature or to standardize the size or orientation of the selected elements. This makes it much faster to update the diagram than if you had to modify each element separately.
To select the required elements, either click and drag the cursor over the group to highlight them, or press or as you click on each element separately.
The selected element that is drawn with a hatched border is the context element. The context element is used as the 'master' element when aligning or resizing elements as a set.
The Shift and Ctrl keys toggle selection, so if you want to exclude a selected element from a group, again press the key as you click on the element. The two keys have a slightly different effect when you click on the intersection between two overlapping elements:
- toggles selection of the element with the lower Z-order (the element behind or further back than the others)
- toggles selection of the element with the higher Z-order (the element in front of or further forward than the others)
Access
Select a set of elements on a diagram, then right-click on one of the selected elements to display a context menu (for format/layout operations, right-click on the element against which to standardize the others - this sets the right-clicked element as the context element). Just note that if you click (not right-click) on an individual element, that element becomes the only selected element; the multiple selection is cleared and you are no longer working on multiple elements.
The 'Layout' ribbon's 'Style' panel also provides options for changing appearance related properties for a set of selected elements, while the 'Alignment' panel provides numerous options for aligning and resizing elements.
Ribbon |
Layout > Style (changes the appearance of the selected elements on the current diagram only) Layout > Alignment (changes the size or position of the selected elements on the current diagram only) |
Context Menu |
Right-click on a selected element on a diagram. The context menu for multiple selections displays; this is described here. |
Keyboard Shortcuts |
(displays the 'Default Appearance' dialog, described here) |
Other |
Right-click on a selected element on diagram - the Format toolbar is displayed above the context menu (changes the appearance of the selected elements on the current diagram only) |
Options
Option |
Detail |
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 elements. This option is available in the Professional, Corporate and extended editions of Enterprise Architect. |
Domain Based Models Systems Engineering |
Align |
Select one of these options to align elements against the 'master' element's:
You can also edge-align groups of elements using the Diagram Toolbar; the four alignment buttons are made available when more than one element is selected in a diagram. Shortcut:
|
Diagram Toolbar |
Space Evenly |
(For three or more selected elements.) Select this option to automatically even out the spacing between the selected elements, either horizontally or vertically. Shortcut: |
|
Same Height/Width |
Select one of these options to make all the selected elements match the 'master' element's height or width, or both. In Use Case diagrams, these options are blocked if the 'Allow elongated Use Cases' option is turned off on the 'Preferences' dialog 'Objects' page. |
Objects |
Collaboration |
This option displays if User Security is enabled. It offers the sub-option of 'Send Message', which opens the 'Create Message' dialog to create and send a model message containing a hyperlink to each of the selected objects. |
Create a Message |
Compartment Visibility |
Select this option to define the visibility of features and compartments on all elements selected on a diagram. Shortcut: |
Feature Visibility |
Add Tagged Value |
Select this option to add the same Tagged Value to all selected elements. |
Assign a Tagged Value to an Item |
Autosize |
Select this option to automatically resize the selected elements to their default minimum size (element content permitting). Shortcut: |
Autosize Elements |
Appearance |
Select this option to set the same default appearance and font for all of the selected elements at once. Shortcut: |
Set an Element's Default Appearance Set Element Font |
Info view |
Select this option to display a short submenu, from which you select to switch the selected elements between Info view display style and 'normal' UML style, and to set the element characteristics that are shown in Info view style. |
Info view Style |
Clear Checklist |
Select this option to clear the checkboxes in all of the selected Checklist Artifact elements. |
Using the Checklist and Audited Checklist Artifacts |
Make Non-Selectable |
Select this option to make the selected elements on the diagram non-selectable. To make the elements selectable again, either:
|
Element Context Menu Operations |
Printable |
Defaults to selected, so that the selected elements are depicted in any diagrams in reports generated on their parent Package(s). If you click on the option to deselect it, the elements will not be visible in any diagrams in reports. You can, however, deselect a report option for a report to force the display of the non-printable elements. Deselecting this option also hides the element and its connectors in the 'Print Diagrams', 'Print to PDF' and 'Save Diagram as Image' operations. |
Document Options Diagram Menu - Project Browser Save Diagram Image to Disk File Management Non-printable Elements |
Dockable |
Select this option to turn the 'Docking' feature on or off for the selected elements. When two elements are dockable, they can be moved together to automatically join along their common edge. |
|
Code Generation |
(For Class elements) Select this option to either:
Shortcut: |
Generate a Group of Classes |
Transform |
Select this option to transform the selected elements using a transformation template in a single operation. Shortcut: |
Transform Elements |
Generate Documentation |
Select this option to generate a single document report on the selected elements. (Do not, in this instance, use the key.) |
Generate Documentation |
Copy |
Select this option to copy the selected elements to the clipboard. |
|
Layout Selected Elements |
Select this option to automatically adjust the layout of the selected elements on the diagram. |
Layout a Diagram Automatically |
Delete Selected Elements |
Select this option to delete the selected elements from the diagram only. Shortcut: |