UML Profile Diagram Tool in Visual Paradigm Desktop

A UML Profile Diagram lets you extend the Unified Modeling Language (UML) with domain-specific modeling concepts. Instead of being limited to UML’s standard elements, you can define custom stereotypes, specify additional properties through tagged values, and organize related stereotypes into reusable structures.

Visual Paradigm Desktop provides a Profile Diagram editor for creating and managing these custom UML extensions. It allows you to define the model element types that stereotypes extend, configure typed tagged values, and establish composition and generalization relationships between stereotypes. The resulting profile can then be applied to model elements in other diagrams, such as Class Diagrams.

This makes Profile Diagrams particularly useful when standard UML notation needs to represent specialized concepts from a business domain, software architecture, engineering discipline, or technology platform.

What Is a UML Profile Diagram?

A UML Profile Diagram is used to define a UML profile: a collection of extensions that customize UML for a particular domain or purpose.

UML is a general-purpose modeling language. Its standard elements, such as classes, components, actors, and relationships, provide a common vocabulary for describing software systems. However, specialized projects often need concepts that are more specific than those standard elements.

For example, a vehicle engineering team may want to distinguish vehicles, pickup trucks, convertible vehicles, and vehicle components in its models. A software architecture team may want to identify services, repositories, controllers, external systems, or other architectural roles.

A UML profile makes this possible without replacing UML. It introduces stereotypes that extend existing UML model element types and can define additional properties for those elements.

A Profile Diagram provides a visual way to define these stereotypes and their relationships.

In Visual Paradigm Desktop, a profile can include:

  • Stereotypes that introduce domain-specific model concepts.
  • Base types that specify which UML model element types a stereotype extends.
  • Tagged value definitions that specify additional properties and their data types.
  • Composition relationships that organize stereotypes into part-of structures.
  • Generalization relationships that establish specialized stereotypes based on more general ones.

Once a profile has been defined, its stereotypes can be applied to suitable model elements in other diagrams. The tagged values defined by those stereotypes can then be populated with project-specific information.

Why UML Profile Diagrams Matter

UML provides a shared modeling language, but a general-purpose notation does not always capture the terminology and properties that matter in a particular industry or project.

A UML Profile Diagram helps bridge this gap. It allows teams to retain the familiar structure of UML while introducing a vocabulary that better reflects their domain.

Adapt UML to a specific domain

Different industries and technical disciplines have different modeling requirements.

For example:

  • Automotive engineering may need stereotypes for vehicles, vehicle components, and specialized vehicle types.
  • Enterprise architecture may need stereotypes for business services, applications, infrastructure, and technology resources.
  • Software architecture may need stereotypes for controllers, services, repositories, and external interfaces.
  • Embedded systems engineering may need stereotypes for hardware devices, sensors, and communication interfaces.

A profile allows these concepts to be represented as specialized forms of existing UML model elements.

Add domain-specific properties

A standard UML class does not necessarily contain all the information required by a particular modeling discipline.

For example, a vehicle model may need properties such as passenger capacity, speed limit, and transmission type. A software component may need properties such as deployment environment, security classification, or service ownership.

Tagged value definitions let a profile introduce these additional properties and specify the kind of values that users can enter.

Establish consistent modeling conventions

When several people work on the same model, they need a shared understanding of what each specialized element represents.

A reusable profile provides a common set of stereotypes and property definitions. Team members can apply the same modeling vocabulary rather than inventing different labels and conventions in individual diagrams.

Improve model readability

Stereotypes communicate the intended role of a model element.

For example, a class marked with a stereotype such as Controller communicates more architectural meaning than an ordinary class named OrderController alone. The stereotype makes the modeling intent explicit and can be used consistently across the project.

Reuse modeling knowledge

Once a profile has been created, its stereotypes and tagged value definitions can be applied to multiple model elements. This helps teams reuse domain knowledge and maintain consistency as a model grows.

UML Profile Diagram Elements and Notations

A Profile Diagram focuses on stereotypes and the relationships between them. Understanding its main elements is essential for creating a useful and reusable profile.

Stereotype

A stereotype is the central element of a UML profile. It extends an existing UML model element type with a more specific meaning.

For example, a stereotype named Vehicle can extend the UML Class metaclass. When applied to a class, it identifies that class as representing a vehicle within the domain model.

A stereotype is commonly displayed using a name enclosed in guillemets, such as <<Vehicle>>.

In Visual Paradigm Desktop, you create a stereotype by selecting the Stereotype tool from the Profile Diagram toolbar and clicking on the diagram. The application then asks you to select the base type that the stereotype will extend.

Base type

The base type identifies the kind of UML model element that a stereotype can be applied to.

For example:

  • A stereotype extending Class can be applied to a UML class.
  • A stereotype extending Component can be applied to a UML component.
  • A stereotype extending Actor can be applied to an actor.

Choosing an appropriate base type is important because it determines where the stereotype can be used.

Visual Paradigm provides a model type selection window when creating a stereotype. You can browse the model type tree or filter the available types by name.

Tagged value definitions

A stereotype can define additional properties called tagged value definitions.

These definitions specify what information users can enter when the stereotype is applied to a model element.

For example, a Vehicle stereotype might define:

  • speed-limit: a floating-point number.
  • passenger: an integer.
  • id: an integer.
  • automatic-transmission: an enumeration with values such as yes and no.

Visual Paradigm supports several tagged value types, including:

  • Text
  • Multi-line Text
  • Model element
  • Enumeration
  • Integer
  • Floating-point number
  • Boolean

The selected type controls the kind of value that can be entered for the property.

You can also assign a default value to a tagged value definition. This is useful when a particular value is commonly used and should be suggested automatically.

Composition between stereotypes

Composition represents a part-of relationship between stereotypes.

For example, a Vehicle stereotype may be composed of a Body stereotype. A vehicle can then have properties defined by both its own stereotype and the composed stereotype.

In Visual Paradigm, composition can be created through the Resource Catalog. Move the pointer over a stereotype, drag out its Resource Catalog button, and select Composition > Stereotype.

The resulting stereotype is created with the appropriate base type. When the composite stereotype is applied to a model element, the tagged values defined by its composed stereotypes can also be specified.

Generalization between stereotypes

Generalization represents a kind-of relationship between stereotypes.

For example, Pickup Truck can be defined as a specialized kind of Vehicle. The specialized stereotype inherits the tagged value definitions of the more general stereotype.

This is useful when several domain concepts share common properties but also need their own specialized information.

In Visual Paradigm, you can create a specialized stereotype by dragging the Resource Catalog button from an existing stereotype and selecting Generalization > Stereotype.

Tagged values on model elements

It is important to distinguish between a tagged value definition and a tagged value.

A tagged value definition is created in the profile. It describes a property that a stereotype makes available.

A tagged value is the actual value entered for that property when the stereotype is applied to a model element.

For example, the Vehicle stereotype may define a speed-limit property. When the stereotype is applied to a particular vehicle class, the modeler can enter 180 as that vehicle’s speed limit.

This separation allows a profile to define a consistent property structure while individual model elements contain their own values.

Profile Diagram vs. Class Diagram

Profile Diagrams and Class Diagrams are both concerned with structured model elements, but they serve different purposes.

A Class Diagram describes the static structure of a system. It models classes, attributes, operations, and relationships between classes.

A Profile Diagram defines extensions to UML itself. It describes stereotypes that can be applied to model elements in other diagrams.

Aspect Profile Diagram Class Diagram
Primary purpose Extend UML with domain-specific concepts Describe the static structure of a system
Main elements Stereotypes Classes and interfaces
Key relationships Composition and generalization between stereotypes Associations, generalizations, dependencies, and other class relationships
Additional properties Tagged value definitions Attributes and other class properties
Typical result A reusable UML profile A model of the system’s classes and relationships
Main use Define a specialized modeling vocabulary Design and communicate object-oriented structure

The two diagrams complement each other. A Profile Diagram defines the specialized vocabulary, while a Class Diagram can use that vocabulary to describe a particular system.

Create a Profile Diagram in Visual Paradigm Desktop

Visual Paradigm Desktop provides a dedicated Profile Diagram editor. You can create a profile, define stereotypes, configure tagged values, and establish relationships between stereotypes.

The following workflow introduces the main steps.

Create a new profile

To begin defining a UML profile:

  1. Open your project in Visual Paradigm Desktop.
  2. Select Modeling > Profile > New Profile from the application toolbar.
  3. Enter a name for the new profile.
  4. Press Enter to confirm.

Visual Paradigm creates a new Profile Diagram for the profile. You can now start defining its stereotypes.

Choose a name that describes the domain or purpose of the profile. For example, Vehicle Engineering Profile is appropriate for a profile intended to represent vehicle-related concepts.

Create a stereotype

To create a stereotype:

  1. Select Stereotype from the Profile Diagram toolbar.
  2. Click on the diagram to create the stereotype.
  3. In the Select Base Type of Stereotype window, choose the model element type that the stereotype should extend.
  4. Click OK.
  5. Enter a name for the stereotype and press Enter.

For example, you can create a stereotype named Vehicle and select Class as its base type.

The stereotype can now be used to extend UML classes with vehicle-specific meaning and properties.

Configure tagged value definitions

After creating a stereotype, you can define the additional properties that should be available when it is applied to a model element.

To configure tagged values:

  1. Right-click the stereotype shape.
  2. Select Open Specification….
  3. Open the Tagged Value Definitions tab.
  4. Click Add and select the type of tagged value to create.
  5. Enter a name for the tagged value.
  6. Repeat the process for any additional properties.
  7. If appropriate, configure a default value.
  8. Confirm the changes.

For example, a Vehicle stereotype might define the following properties:

Property Type Example purpose
speed-limit Floating-point number Maximum permitted or designed speed
passenger Integer Passenger capacity
id Integer Vehicle identifier
automatic-transmission Enumeration Whether the vehicle uses automatic transmission

For an enumeration, you can configure the available choices. For example, automatic-transmission could offer yes and no, with one of these values configured as the default.

Once the definitions have been saved, the stereotype displays its tagged value definitions in the Profile Diagram.

Create a composed stereotype

Composition is useful when a stereotype contains another specialized concept and should make that concept’s tagged values available as part of its own structure.

For example, a Vehicle may contain a Body concept.

To create a composed stereotype:

  1. Move the pointer over the source stereotype.
  2. Drag the Resource Catalog button from the stereotype.
  3. Release it in an empty area of the diagram.
  4. Select Composition > Stereotype from the Resource Catalog.
  5. Enter the name of the new stereotype and press Enter.

The new stereotype is created as part of the composition relationship.

When the composite stereotype is later applied to a model element, users can also specify tagged values defined by the composed stereotype.

Create a specialized stereotype

Generalization is useful when a domain concept is a more specific form of another concept.

For example, Pickup Truck is a specialized kind of Vehicle.

To create a specialized stereotype:

  1. Move the pointer over the general stereotype.
  2. Drag out the Resource Catalog button.
  3. Release it in an empty area of the diagram.
  4. Select Generalization > Stereotype.
  5. Enter the name of the specialized stereotype and press Enter.

The new stereotype is connected to the general stereotype through generalization.

When the specialized stereotype is applied to a model element, the tagged value definitions of the general stereotype are also available. You can then define additional tagged values for the specialized stereotype itself.

Build a complete profile

You can repeat these steps to create more stereotypes and relationships.

For example, a vehicle engineering profile could contain:

  • Vehicle as a general stereotype.
  • Pickup Truck, Mini, and Convertible as specialized stereotypes.
  • Body and Interior as composed stereotypes.
  • Seat as a further composed stereotype under Interior.

Each stereotype can define its own tagged values. The resulting profile provides a structured vocabulary for modeling vehicle-related concepts.

Apply Profile Stereotypes to Model Elements

Creating a profile is only part of the workflow. The stereotypes become useful when they are applied to model elements in other diagrams.

Visual Paradigm allows you to apply stereotypes defined in a profile to suitable model elements, then enter the tagged values associated with those stereotypes.

Create a model element

First, open or create a diagram that contains a model element compatible with the stereotype’s base type.

For example, if the Vehicle stereotype extends UML Class, create a Class Diagram and add a class representing a particular vehicle.

Apply a stereotype

To apply a stereotype to a class:

  1. Right-click the class.
  2. Select Stereotypes > Edit Stereotypes.
  3. Select the stereotype you want to apply.
  4. Add the selected stereotype to the model element.
  5. Confirm the change.

For example, you can apply Pickup Truck to a class named Light Motor Vehicle.

The class now carries the specialized meaning defined by the profile.

Enter tagged values

After applying the stereotype, open the model element’s specification and locate the Tagged Values tab.

The tagged value definitions associated with the applied stereotype are available for the model element.

These may include properties inherited from a generalized stereotype and properties made available through composed stereotypes.

Enter the values appropriate to the particular model element. For example, a pickup truck class may have a cargo capacity, vehicle identification value, and other domain-specific information.

This allows the profile to provide a consistent structure while individual model elements hold their own data.

Practical Examples of UML Profile Diagrams

UML profiles can be useful in many domains. The following examples illustrate how a profile can extend standard UML concepts.

Vehicle engineering profile

A vehicle engineering team may define a profile that extends UML classes with vehicle-related concepts.

Possible stereotypes include:

  • Vehicle
  • Pickup Truck
  • Convertible
  • Mini
  • Body
  • Interior
  • Seat

Tagged values can represent speed limits, passenger capacity, cargo capacity, transmission type, interior painting, seat texture, and other vehicle properties.

This allows a Class Diagram to describe vehicle models using familiar UML notation while including information specific to vehicle engineering.

Software architecture profile

A software development team may define stereotypes for common architectural roles.

For example:

  • Controller
  • Service
  • Repository
  • ExternalSystem
  • MessageBroker

These stereotypes could extend UML classes or components, depending on how the team chooses to represent its architecture.

Tagged values might describe ownership, deployment environment, security classification, or technology choices.

A shared profile helps developers and architects interpret these roles consistently across different models.

Enterprise architecture profile

An enterprise architecture team may use stereotypes to distinguish different kinds of business and technology elements.

For example:

  • BusinessService
  • ApplicationService
  • ApplicationComponent
  • TechnologyService
  • DataObject

Additional properties might describe business ownership, lifecycle status, criticality, or hosting environment.

The profile provides a domain-specific vocabulary that can be reused across architecture models.

Embedded systems profile

An embedded systems project may need to distinguish hardware and software elements that have specialized properties.

Possible stereotypes include:

  • Sensor
  • Actuator
  • Controller
  • CommunicationInterface
  • HardwareModule

Tagged values might capture operating voltage, sampling frequency, communication protocol, or hardware revision.

The profile helps make these specialized properties part of a consistent modeling approach.

Organization-specific modeling profile

An organization may also define a profile to standardize how its teams describe systems and business concepts.

For example, a company could define stereotypes for approved architectural patterns, internal application categories, or organizational roles.

The profile can encode the terminology and property conventions that the organization wants its models to follow.

Benefits of Using Visual Paradigm Desktop for Profile Diagram Modeling

Visual Paradigm Desktop provides a visual environment for defining UML profiles and applying their stereotypes to model elements.

Visual profile definition

Instead of managing stereotype relationships only as text or configuration, you can create and organize stereotypes directly in a diagram.

The visual representation makes it easier to understand how domain-specific concepts relate to one another.

Flexible stereotype creation

You can choose the base model element type for each stereotype, allowing the profile to extend the UML elements that are relevant to your domain.

This helps keep the profile aligned with the intended modeling purpose.

Typed tagged value definitions

Visual Paradigm supports multiple tagged value types, including text, numbers, enumerations, Boolean values, and model elements.

This gives profile designers control over the kinds of information users can enter when applying stereotypes.

Reusable stereotype relationships

Composition and generalization allow stereotypes to be organized into reusable structures.

Generalization supports specialized concepts that inherit properties from more general stereotypes. Composition makes properties from related stereotypes available through a composite stereotype.

Integration with other UML diagrams

Stereotypes defined in a profile can be applied to compatible model elements in other diagrams.

This connects profile design with practical system modeling, allowing domain-specific concepts to be used in the project’s UML models.

Consistent domain modeling

A shared profile helps teams use the same stereotypes and property definitions across their models.

This can improve communication, reduce inconsistent terminology, and make models easier to review and maintain.

Best Practices for Creating UML Profiles

A well-designed profile should make modeling more precise without introducing unnecessary complexity.

Start with a clear modeling purpose

Before creating stereotypes, identify the domain or modeling problem the profile is intended to address.

Avoid creating a profile simply to rename standard UML elements. Each stereotype should communicate a meaningful specialization or modeling role.

Choose appropriate base types

Select a base type that matches the kind of UML model element the stereotype is intended to extend.

For example, a stereotype representing an architectural component may be better based on Component than Class if the project models that concept as a component.

Use meaningful stereotype names

Choose names that are understandable to the people who will use the profile.

Names such as Vehicle, Controller, and Repository communicate domain meaning more clearly than unexplained abbreviations.

Define only useful tagged values

Each tagged value should provide information that is relevant to the stereotype.

Avoid adding properties that are rarely used or that duplicate information already represented elsewhere in the model.

Select appropriate tagged value types

Use integer and floating-point types for numeric information, Boolean for true-or-false properties, and enumeration for values selected from a controlled list.

Using appropriate types helps make the profile more consistent and reduces ambiguity.

Use generalization for genuine specialization

Generalization should express a meaningful kind-of relationship.

For example, Pickup Truck is a specialized kind of Vehicle. A relationship should not be used merely because two stereotypes happen to share some properties.

Use composition for part-of structures

Composition is appropriate when one stereotype represents a whole that includes another stereotype as a part.

Think carefully about the intended relationship and how the composed stereotype’s tagged values should be made available when the composite stereotype is applied.

Test the profile in a real model

After defining a profile, apply its stereotypes to representative model elements.

Check whether the expected tagged values appear, whether inherited and composed properties are available, and whether the profile is understandable to its intended users.

Frequently Asked Questions About UML Profile Diagrams

What is a UML Profile Diagram used for?

A UML Profile Diagram is used to define a UML profile that extends standard UML with domain-specific stereotypes and properties. It helps teams customize UML for particular industries, platforms, architectural approaches, and organizational modeling conventions.

What is a stereotype in UML?

A stereotype is an extension mechanism that gives an existing UML model element a more specialized meaning. For example, a stereotype named Controller can extend a UML class to identify its role in a software architecture.

What is the difference between a stereotype and a tagged value?

A stereotype defines a specialized kind of UML model element. A tagged value definition specifies an additional property associated with that stereotype. When the stereotype is applied to a model element, the user can enter an actual tagged value for that property.

What is a base type in a Profile Diagram?

A base type identifies the UML model element type that a stereotype extends. For example, a stereotype with Class as its base type can be applied to UML classes.

What is the difference between composition and generalization in a Profile Diagram?

Composition represents a part-of relationship between stereotypes. Generalization represents a kind-of relationship, allowing a specialized stereotype to inherit tagged value definitions from a more general stereotype.

Can I define custom properties for stereotypes?

Yes. Visual Paradigm Desktop allows you to define tagged values for stereotypes through the Stereotype Specification window. Supported types include text, multi-line text, model element, enumeration, integer, floating-point number, and Boolean.

Can I define default values for tagged values?

Yes. You can configure a default value for a tagged value definition. This is useful when a particular value is commonly used for model elements carrying that stereotype.

Can stereotypes be used in Class Diagrams?

Yes. A stereotype can be applied to a compatible model element in another diagram. For example, a stereotype that extends Class can be applied to a class in a Class Diagram. Its tagged value definitions can then be populated for that class.

Is a Profile Diagram the same as a Class Diagram?

No. A Class Diagram describes the structure of a system, while a Profile Diagram defines extensions to UML. A profile can define stereotypes that are subsequently used in Class Diagrams and other compatible diagrams.

Which Visual Paradigm Desktop editions support Profile Diagrams?

Visual Paradigm’s Profile Diagram tutorial identifies Enterprise, Professional, and Standard editions as compatible. Refer to the current edition comparison and licensing information for the latest product details.

License and Availability

The UML Profile Diagram capability in Visual Paradigm Desktop is identified as compatible with the Standard, Professional, and Enterprise editions.

Profile modeling is intended for users who need to customize UML with domain-specific stereotypes, tagged value definitions, and relationships between stereotypes. Availability should be checked against the current edition information before selecting a license.

For the latest details, visit the Visual Paradigm Editions Comparison and Visual Paradigm Pricing pages.

Extend UML with Visual Paradigm Desktop

Standard UML provides a powerful foundation for software and system modeling, but specialized projects often need a vocabulary that reflects their own domains, platforms, and architectural conventions.

With the Profile Diagram editor in Visual Paradigm Desktop, you can define stereotypes, configure typed tagged values, and organize related concepts through composition and generalization. You can then apply those stereotypes to compatible model elements in your project diagrams.

Whether you are modeling vehicles, software architecture, enterprise systems, embedded devices, or organization-specific concepts, Visual Paradigm Desktop provides a visual way to create and use UML profiles.

Explore Visual Paradigm Desktop to build reusable modeling extensions and make your UML models more expressive and consistent.

References and Further Reading

Scroll to Top