Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Manage Object Labels
When you create certain elements or connectors, some of the properties of the created object are displayed on the diagram as labels offset from the object. For example, the following display as labels:
• | Embedded element name |
• | Run state, attributes and operations (if they exist) of an element that has an alternative image |
• | Connector name, stereotype, constraints and/or source and target role names |
You can format and hide these labels using the Labels context menu.
Access Right-click on a label
Options - For element labels
Option |
Usage |
Shortcut |
See also |
---|---|---|---|
Set Label Color |
Displays the Color dialog, from which you select a standard or custom color in which to display the label text.
|
|
|
Hide Label |
Hides the label on the diagram; to unhide the label, right-click on the element and select the Appearance | Show labels context menu option.
|
|
|
Bold |
Displays the label text in bold.
|
|
|
Label Rotation |
(For embedded elements.) Orients the label in the horizontal (default) or vertical planes, with options to rotate the text in the vertical plane either clockwise or anti-clockwise.
|
|
|
Text Alignment |
Aligns the text to the left, center or right of the label text area. This is more apparent where there are several items of text in the label, of different lengths.
|
|
|
Default Position |
Moves the label to the position it was initially created in, relative to the parent element.
|
|
|
Default Color |
Sets the label color to the default color in which it was first created.
|
|
|
Options - For connector labels
Option |
Usage |
Shortcut |
See also |
---|---|---|---|
Edit Label |
Displays the text within a small editing box, with the cursor within the text. Delete or add text as appropriate.
|
F2 |
|
Set Label Color |
Displays the Color dialog, from which you select a standard or custom color in which to display the label text.
|
|
|
Hide Label |
Hides the label on the diagram. To unhide the label, right-click on the connector and select the Visibility | Set Label Visibility context menu option. Select the checkbox against each label to redisplay.
|
|
|
Bold |
Displays the label text in bold.
|
|
|
Label Rotation |
Orients the label in the horizontal (default) or vertical planes, with options to rotate the text in the vertical plane either clockwise or anti-clockwise.
|
|
|
Text Alignment |
Aligns the text to the left, center or right of the label text area. This is more apparent where there are several items of text in the label, of different lengths.
|
|
|
Direction |
Sets or clears a small arrow at the end of the label. You can choose to set the arrow pointing to the label source or destination.
This is part of the label, so if there is no label text (or if the label consists only of spaces) there is no direction indicator.
|
|
|
Default Position |
Moves the label to the position it was initially created in, relative to the parent connector.
|
|
|
Default Color |
Sets the label color to the default color in which it was first created.
|
|
|
Notes
• | As labels can be concentrated on and around the element or connector, make sure that you click on a section of the required label that is clear of any other label or structure |
• | The Label Rotation option is not currently available for stereotyped elements and connectors |
Learn more