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 colorgroup of options. Set theEnable UML in coloroption toTrueto enable the "UML in color" profile. - Use options in the
UML in colorgroup to adjust colors used for coloring node elements with particular Stereotypes.
- For example, use the
Place stereotypeoption to define the color to fill nodes having theplacevalue of the Stereotype property orRole stereotypeoption to define the color to fill nodes having therolevalue 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.