You can author and design UML profiles by using class diagrams,
which provide a visual, modeling approach to creating profiles that can be
particularly helpful when you create relationships. Although you can create
and modify profiles in the Project Explorer view, modeling profiles is an
alternate method that can be faster and easier.
About this task
To author a UML profile using a class diagram:
Procedure
- In the Project Explorer view, expand a project that contains a
custom UML profile.
- Expand the Diagrams folder, right-click a profile; then click Add
Diagram > Class Diagram.
Results
After you create the class diagram, you can add existing profile elements
such as stereotypes and classes to it. To add new elements to the class diagram
and the profile, in the Palette, under
Profile, select
the elements to add and drag them into the diagram.