Prev Next

Stereotypes with Alternative Images

If you want to represent an element using an image (for example, depict a hardware component using a 3-D box, or even using an image of the unit itself), you can do so using a stereotype that has been associated with a metafile. When the stereotype is applied to a Class or other element that supports alternative graphical format, the element is drawn using the image instead of the standard UML shape. For example, in this Deployment diagram, the Component elements all have alternative images.

Notes

  • You cannot change the representation of elements that include Lifelines, such as those in Sequence diagrams; the standard representation is important in the use and function of those elements

Learn more