Visual Paradigm Desktop addresses this challenge with Master View and Auxiliary View, a model reuse mechanism that allows a single model element to have multiple visual representations across different diagrams. It keeps these representations connected to the same underlying model element while providing control over which view determines the element’s position in the model hierarchy.
By understanding how master and auxiliary views work, modelers can build more organized, reusable, and maintainable models without sacrificing the flexibility to present information in different diagram contexts.
What Are Master View and Auxiliary View?
In Visual Paradigm, a model element represents an actual modeling object, while a view is a visual representation of that model element in a diagram or the Model Explorer. A single model element can have multiple views, allowing it to appear in different diagrams without creating separate, independent model elements.
Among all the views associated with a model element, one is designated as the Master View, while the remaining views are called Auxiliary Views.
- Master View: The primary view responsible for determining the model element’s placement within the model hierarchy. Moving the master view into or out of a parent container can update the actual model structure.
- Auxiliary View: An additional representation of the same model element. It can be positioned in another diagram or placed under a different visual container without changing the element’s actual parent in the model hierarchy.
Each model element can have only one master view, but it can have multiple auxiliary views. All views refer to the same underlying model element, so changes to shared model information, such as its name, are reflected across its representations.
This distinction is particularly important in complex models where the same entity needs to be shown in several contexts, but its actual structural ownership must remain consistent.
Why Are Master and Auxiliary Views Important?
Master and auxiliary views are more than a diagram reuse convenience. They help maintain the integrity of a shared model when information is presented across multiple diagrams. Without this distinction, moving an element between containers in one diagram could unintentionally change its actual parent in the model, affecting other parts of the project.
Reuse Model Elements Without Duplicating Data
A model element can be reused in multiple diagrams instead of being recreated every time it is needed. For example, a Customer class can appear in a domain model, a subsystem class diagram, and a database-related model while remaining the same underlying model element.
This avoids duplicate definitions and ensures that all diagrams refer to the same modeling object.
Maintain Consistency Across Diagrams
When a reused model element is updated, its shared model information is synchronized across all its views. Renaming a class, for instance, does not require manually updating every diagram in which the class appears.
This is especially valuable in large projects where multiple diagrams describe different aspects of the same system.
Protect the Actual Model Hierarchy
One of the most important benefits is the ability to separate visual organization from actual model structure. An auxiliary view can be placed inside a different package, subsystem, or container for presentation purposes without moving the underlying model element to that container.
The master view remains responsible for determining the element’s structural parent. This prevents accidental changes to model organization when arranging diagrams.
Represent Different Modeling Contexts
Different stakeholders and development activities require different perspectives of the same system. A class may be shown alongside its domain relationships in one diagram and alongside its controller dependencies in another.
Auxiliary views make this possible without creating separate versions of the class.
Reduce Model Maintenance Effort
When a model contains many diagrams, maintaining duplicated elements can become time-consuming and error-prone. Reusing the same model element through multiple views reduces repetitive editing and helps prevent inconsistencies as a project evolves.
Understanding the Difference Between Master and Auxiliary Views
The following comparison explains how the two types of views behave when working with diagrams and model structure.
| Aspect | Master View | Auxiliary View |
|---|---|---|
| Purpose | Primary view of a model element | Additional representation of the same model element |
| Quantity | One per model element | One or more per model element |
| Model hierarchy | Determines the element’s structural placement | Does not independently determine the element’s structural placement |
| Moving into another container | Can update the actual model hierarchy | Changes the visual arrangement without changing the actual model hierarchy |
| Model information | Shares the underlying model element’s information | Shares the same underlying model element’s information |
| Typical use | Establishing the primary structural ownership of an element | Reusing an element in other diagrams and contexts |
It is important to understand that an auxiliary view is not an independent copy of the model element. It is another representation of the same model element. Therefore, changing shared model properties through one view affects the other views as well.
How to Create an Auxiliary View by Reusing a Model Element
Visual Paradigm makes it easy to reuse existing model elements in other diagrams. One common approach is to copy and paste an existing shape from one diagram into another.
- Open the diagram that contains the model element you want to reuse.
- Select the model element’s shape.
- Copy the shape using Ctrl+C.
- Open the destination diagram.
- Paste the shape using Ctrl+V.
- If prompted to reuse the existing model element, confirm the reuse operation.
Visual Paradigm creates another view of the existing model element rather than an unrelated duplicate. The newly created view is normally an auxiliary view, while the original view remains the master view.
After reuse, you can arrange the auxiliary view according to the requirements of the destination diagram. Its position and visual context can differ from those of the master view without changing the actual model hierarchy.
This approach is useful when a model element needs to be referenced in multiple diagrams while retaining a single source of model information.
How to Identify Master and Auxiliary Views
Visual Paradigm provides visual indicators to help distinguish master and auxiliary views directly on diagrams.
- M: Indicates that the shape represents the master view.
- a: Indicates that the shape represents an auxiliary view.
These indicators help modelers understand which occurrence of an element controls its structural placement and which occurrences are additional representations.
For example, if a Customer class appears in two class diagrams, the shape marked with M is the master view, while the shape marked with a is an auxiliary view.
These indicators can be displayed or hidden through View > Model Indicator. Turning off the indicators changes their visibility on the diagram, not the underlying master and auxiliary view relationships.
How to View All Occurrences of a Model Element
When a model element is reused across several diagrams, it can become difficult to remember where all its views are located. Visual Paradigm provides the Show Views functionality to help you locate and manage these occurrences.
You can open the Show Views window from either a diagram or the Model Explorer.
Open Show Views from a Diagram
- Open the diagram containing the model element.
- Right-click the shape representing the model element.
- Select Related Elements > Show Other Views… from the popup menu.
- Visual Paradigm opens the Show Views window, listing the available views of that model element.
Open Show Views from Model Explorer
- Locate the model element in Model Explorer.
- Right-click the model element.
- Select Show View… from the popup menu.
- Review the available views associated with the selected model element.
The Show Views window helps you understand where a model element is represented and provides access to the functionality for changing its master view.
How to Change or Set the Master View
Although a model element has only one master view at a time, Visual Paradigm allows you to change which view serves as the master. This is useful when the primary structural ownership of an element needs to change during model development.
For example, suppose a class named Action appears in two class diagrams: Domain Model and Action Executor. Initially, its view in Domain Model is the master view. If the Action class should instead be structurally owned by a package represented in Action Executor, you can designate the latter view as the new master view.
Steps to Change the Master View
- Open the diagram containing the view you want to promote to master.
- Right-click the model element’s shape.
- Select Related Elements > Show Other Views….
- In the Show Views window, click Set Master View….
- In the Set Master View window, select the desired master view from the available choices.
- Choose either Model Explorer or a specific diagram as the master view.
- Click OK to confirm the selection.
After the operation, the selected view becomes the master view, and the previous master view becomes an auxiliary view. The model element’s parent assignment is updated immediately according to the new master view.
This capability gives modelers control over model ownership without having to recreate or manually reconnect the element in other diagrams.
Using Model Explorer as the Master View
When setting a master view, Visual Paradigm also allows you to select Model Explorer instead of a particular diagram.
This provides a useful alternative when you want the model hierarchy to be managed independently of the element’s placement in any diagram.
When Model Explorer is selected as the master view, repositioning the element in diagrams will not affect its actual model hierarchy. This is particularly helpful when diagrams are created primarily to communicate different perspectives, rather than to define the structural organization of the model.
For example, an organization may maintain its official package structure in Model Explorer while allowing modelers to arrange the same classes into different visual groupings in multiple diagrams. Selecting Model Explorer as the master view helps preserve that organizational structure.
How Master and Auxiliary Views Affect Model Hierarchy
Understanding the relationship between views and model hierarchy is essential to using this feature correctly.
Consider a class named Order that belongs to the Sales package. Its master view appears in a class diagram, while an auxiliary view appears in another diagram that focuses on order processing.
If you move the master view into a different parent container, such as the Processing package, the actual parent-child relationship of the Order class in the model is updated accordingly. This change is reflected in Model Explorer.
However, if you move the auxiliary view into the Processing package in its diagram, the visual arrangement changes without changing the actual parent of the Order class in the model.
This distinction allows diagrams to communicate different logical groupings without forcing every visual arrangement to become a structural change.
In short, the master view controls model containment, while auxiliary views provide flexibility in diagram presentation.
Practical Use Cases for Master and Auxiliary Views
Master and auxiliary views are particularly valuable when a project contains multiple diagrams that describe overlapping parts of the same system. The following examples illustrate how this feature supports different modeling scenarios.
UML Class Diagrams
In software design, a class may be relevant to multiple subsystems or architectural perspectives. For example, a Customer class can appear in a domain model that describes business entities and another class diagram that focuses on customer management operations.
By reusing the same Customer class through an auxiliary view, developers can maintain consistent class information while presenting different relationships and dependencies in each diagram.
Business Process Diagrams
Business process models often contain shared activities, data objects, and other model elements that participate in multiple process contexts. Reusing these elements helps avoid defining the same business object repeatedly.
For example, an Order data object may appear in several process diagrams covering order creation, payment processing, and delivery. Auxiliary views allow the object to be represented in each process without creating separate model definitions.
Entity Relationship Diagrams
Large database models can be divided into smaller diagrams to make individual subject areas easier to understand. An entity may need to appear in more than one diagram because it participates in relationships across multiple database domains.
Using auxiliary views allows the same entity to be reused across these diagrams, keeping its model identity and shared information consistent.
Large-Scale System Modeling
Enterprise systems typically involve many components, subsystems, and interconnected model elements. Different diagrams may focus on architecture, business logic, integration, or implementation details.
Master and auxiliary views allow modelers to reuse shared elements across these different perspectives while maintaining a coherent underlying model hierarchy.
Best Practices for Working with Master and Auxiliary Views
To get the most out of master and auxiliary views, consider the following modeling practices:
- Establish clear structural ownership: Decide which diagram or Model Explorer should serve as the primary location for an element’s structural placement.
- Reuse existing model elements: Before creating a new element, check whether the required model element already exists in another diagram.
- Use auxiliary views for alternative perspectives: Reuse elements when presenting the same model information in different functional, logical, or architectural contexts.
- Understand the impact of moving master views: Moving a master view between containers can change the actual model hierarchy. Check the intended structural consequences before doing so.
- Use Model Explorer when appropriate: If you want diagrams to remain independent of structural containment decisions, consider using Model Explorer as the master view.
- Use model indicators when troubleshooting: Display the M and a indicators when you need to identify which view controls the model hierarchy.
- Review existing views before changing ownership: Use Show Views to understand where an element is already represented before promoting another view to master.
Common Questions About Master and Auxiliary Views
What is the difference between a master view and an auxiliary view in Visual Paradigm?
A master view is the primary representation of a model element that determines its placement in the model hierarchy. An auxiliary view is another representation of the same model element, allowing it to appear in other diagrams without changing its actual structural parent when moved.
Can a model element have multiple master views?
No. Each model element can have only one master view at a time. It can, however, have multiple auxiliary views across different diagrams.
Do auxiliary views represent separate model elements?
No. Auxiliary views are additional visual representations of an existing model element. They share the same underlying model information rather than representing independent copies.
Does changing the name of an auxiliary view affect the master view?
Yes. Since both views refer to the same underlying model element, changing its name through an auxiliary view also updates the master view and other auxiliary views.
What happens when I move a master view into another container?
Moving a master view into or out of a parent container can update the actual parent-child relationship in the model. The resulting structural change is reflected in Model Explorer.
What happens when I move an auxiliary view into another container?
Moving an auxiliary view changes its visual placement in the diagram but does not change the actual parent-child relationship of the underlying model element.
Can I change which view is the master view?
Yes. Open the Show Views window, click Set Master View, and select the desired diagram or Model Explorer as the new master view. The previous master view automatically becomes an auxiliary view.
Can Model Explorer be the master view?
Yes. You can select Model Explorer as the master view. In this configuration, moving the model element between containers in diagrams does not affect its actual model hierarchy.
How can I tell whether a shape is a master or auxiliary view?
Visual Paradigm uses an M indicator for master views and a lowercase a indicator for auxiliary views. You can show or hide these indicators using View > Model Indicator.
How do I find all the diagrams that contain a model element?
Right-click the element in a diagram and select Related Elements > Show Other Views…, or right-click the element in Model Explorer and select Show View…. The Show Views window lists its available representations.
Why is the master and auxiliary view distinction important?
It prevents changes to a diagram’s visual organization from unintentionally modifying the actual model hierarchy. At the same time, it allows modelers to reuse the same model elements across multiple diagrams while maintaining consistent model information.
Availability in Visual Paradigm Desktop
Master and Auxiliary Views are part of Visual Paradigm Desktop’s general modeling toolset. The single model element, multiple views capability is included in the following editions:
- Enterprise Edition
- Professional Edition
- Standard Edition
- Modeler Edition
- Community Edition
This makes model element reuse and view management available to users across the different Visual Paradigm Desktop editions. For the latest edition details, refer to the Visual Paradigm Editions Comparison.
Build More Consistent and Maintainable Models with Visual Paradigm
As models grow in size and complexity, the ability to reuse model elements across multiple diagrams becomes increasingly important. Master and Auxiliary Views provide a practical way to achieve this by separating the identity of a model element from its visual representation in individual diagrams.
With a single master view controlling structural placement and auxiliary views supporting alternative diagram contexts, Visual Paradigm helps modelers maintain consistent information, avoid unnecessary duplication, and organize complex models more effectively.
Whether you are developing UML class diagrams, documenting business processes, designing database structures, or modeling enterprise systems, Master and Auxiliary Views help you create a reusable and well-organized modeling environment.
Explore Visual Paradigm to discover more modeling capabilities for software design, business process modeling, and enterprise architecture.