Book a Demo
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.

An example of using images in a UML Deployment diagram using Sparx Systems Enterprise Architect.


  • 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