Using the UML in Color Profile
Go Up to Customizing Diagram Appearance and Viewing Diagrams
This topic explains how to use the "UML in color" profile to draw diagram nodes in colors.
To enable or disable the "UML in color" profile
- In the Options dialog box, open the Modeling > (level) > Diagram > Appearance category of options.
- Scroll down in the right pane to show the
UML in color
group of options. Set theEnable UML in color
option toTrue
to enable the "UML in color" profile. - Use options in the
UML in color
group to adjust colors used for coloring node elements with particular Stereotypes.
- For example, use the
Place stereotype
option to define the color to fill nodes having theplace
value of the Stereotype property orRole stereotype
option to define the color to fill nodes having therole
value of the Stereotype property.
- For example, use the
- Close the Options dialog box.
To draw diagram nodes using colors defined by the "UML in color" profile
- Select or create a classifier.
- Open the Object Inspector.
- Assign a stereotype that is supported by the "UML in color" profile (for example,
role
).
- Result: The classifier changes its color according to the settings in the Options dialog box.