Shape Scripts

The elements and connectors you initially use in modeling conform to the standard UML notation in terms of shape, color and labeling. You can, however, extend the standard objects to create new ones, and customize the appearance of these new objects using Shape Scripts to define the exact feature you want to impose on the default - or main - shape. You create a Shape Script in a dedicated scripting language, to define the new shape, orientation, color and labeling of the element or connector. Each script is associated with a stereotype, and every element or connector that has that stereotype will adopt the appearance defined by the Shape Script.

If you want to standardize the appearance, to apply to many elements, you can attach the Shape Script to an attribute of a Stereotype element in an MDG Technology Stereotype Profile.

Learn more


Learning Center topics

·(Alt+F1) | Enterprise Architect | Modeling Languages | Defining Shapes | Introduction to Shape Scripts
·(Alt+F1) | Enterprise Architect | Modeling Languages | Build a Profile | Defining an Image