Display Inherited Attributes

When displaying a Class with attributes in a diagram, you can also show the inherited attributes from all parents in the elements type hierarchy (ancestors).

To show inherited attributes, use the Feature Visibility dialog.

Attributes - Inherited

Note that for elements that have attributes, you can also override an inherited attribute's initial value, using the element context menu option Advanced | Override Attribute Initializers. This displays the Override Attribute Initializers dialog.


In the Override Attribute Initializers dialog, select the variable name and enter a new initial value. If required, you can type a note in the Note field. When you display inherited attributes, Enterprise Architect merges the list of attributes from all ancestors and merges the attribute initializers, so that the final child Class displays the correct attribute set and initial values.