As a modeling project grows, it is common to find the same model elements appearing in multiple projects. Different teams may need to work with the same business entities, system components, domain classes, or shared modeling structures. Recreating these elements in every project can lead to duplicated work, inconsistent definitions, and unnecessary maintenance.
Project Reference in Visual Paradigm Desktop provides a way to connect projects and reuse model elements across them. By referencing another Visual Paradigm project, you can build your current model using elements defined elsewhere, maintain shared modeling resources in dedicated library projects, and organize large modeling efforts into smaller, more manageable projects.
Whether you are developing several related systems, maintaining a shared domain model, or creating an overview of multiple projects, Project Reference helps you establish a more structured and reusable modeling environment.
What Is Project Reference?
Project Reference allows one Visual Paradigm project to link to another project and use its model elements without redefining them.
A project that contains reusable model elements can serve as a reference project. Other projects can then reference it and use its elements in their own diagrams.
For example, imagine an organization developing two applications:
- A customer management system.
- An order processing system.
Both applications use common concepts such as Customer, Address, Product, and Organization. Instead of defining these classes separately in both projects, you can maintain the shared classes in a dedicated library project. The customer management and order processing projects can then reference that library and use the same model definitions.
This approach establishes a clear distinction between shared model definitions and the project-specific elements that use them.
A project reference is a link to the model data in another project, rather than an automatic copy of that data into the current project. This distinction is important because it allows shared elements to remain centrally maintained while being reused by multiple projects.
Why Use Project Reference?
Project Reference is particularly useful when modeling work extends beyond a single project file. It helps you manage shared definitions, reduce duplication, and establish a more organized project structure.
Reuse common model elements
When multiple projects share the same concepts, defining those concepts repeatedly creates unnecessary work. It can also cause inconsistencies when one project updates an element but another project retains an older definition.
With Project Reference, you can define common elements once in a reference project and reuse them wherever needed.
For example, a shared domain model can contain commonly used classes, packages, and relationships. Different application projects can reference those definitions instead of creating their own independent versions.
Maintain a single source of shared definitions
A dedicated reference project can serve as the central location for reusable model elements.
This makes it easier to maintain common definitions and helps prevent different projects from independently developing conflicting versions of the same concepts.
When a referenced element is updated in its source project, projects that use that element can work with the shared definition rather than relying on separately recreated copies.
Keep large projects manageable
A large modeling project can become difficult to navigate and maintain when it contains every model element, diagram, and supporting structure.
Project Reference allows you to divide modeling content into smaller projects according to purpose, system, business domain, or responsibility.
For example, an enterprise architecture initiative might maintain separate projects for business architecture, application architecture, and technology architecture, while using project references to reuse shared model elements.
This modular approach makes individual projects easier to organize and allows teams to focus on the areas relevant to their work.
Build an overview across multiple projects
Sometimes, you need to understand how several projects fit together without combining all their model content into one project.
By referencing other projects, you can reuse their model elements and create an overview project that brings selected elements together for broader analysis or presentation.
This is useful when you need to communicate relationships across systems, business domains, or application areas.
Support consistent modeling across teams
When teams work on related systems, a shared reference project can provide common definitions for important model elements.
For example, an architecture team can maintain a shared library of domain concepts and application components. Individual development teams can reference that library when modeling their own systems.
This encourages consistency while allowing each team to maintain its own project-specific diagrams and content.
How Project Reference Works
Project Reference establishes a relationship between a current project and one or more other Visual Paradigm project files.
The referenced project provides model elements that the current project can use. These elements remain associated with their original project rather than becoming independent copies.
The main concepts are:
- Current project: The project you are actively working on.
- Reference project: Another Visual Paradigm project linked to the current project.
- Referenced model elements: Elements defined in a reference project and reused in the current project.
- Referenced views: Diagram representations of referenced elements in the current project.
- Mirror: A special representation of a referenced container element that allows local elements to be added inside it.
- Local copy: An independent copy of a referenced model element created in the current project.
Understanding these concepts helps you choose the right way to reuse model content.
Creating a Project Reference
You can establish a project reference by adding an existing Visual Paradigm project file to the current project’s referenced project list.
To create a reference:
- Open the project that will use the referenced model elements.
- Select Project > Referenced Project from the application toolbar.
- In the Manage Referenced Projects window, click Add.
- In the file selection window, locate the Visual Paradigm project file (
.vpp) that you want to reference. - Select the project file and click Open.
- Return to the Manage Referenced Projects window and click Close.
The selected project is now available as a referenced project.
You can repeat this process to reference multiple projects, allowing one project to reuse model elements from several sources.
Reusing Model Elements from a Referenced Project
After establishing a project reference, you can browse the referenced project’s model elements and use them in your own diagrams.
Visual Paradigm Desktop provides the Model Explorer for this purpose.
To reuse a referenced model element:
- Open the Model Explorer. If it is not visible, select View > Panes > Model Explorer.
- Use the drop-down menu at the top of the Model Explorer to select the referenced project.
- Browse the model element list and locate the element you want to use.
- Drag the model element from the Model Explorer and drop it onto the active diagram.
Visual Paradigm creates a view of the referenced element in your current diagram. You can also right-click a model element in the Model Explorer and select Create View in Active Diagram.
The referenced element remains owned by its original project. Its view in the current project is read-only, helping prevent accidental modifications to shared model definitions.
To return to the model elements in your current project, select Current from the Model Explorer’s project drop-down menu.
Recognizing referenced elements with Model Indicators
When a diagram contains elements from another project, it can be useful to distinguish them from elements defined locally.
Visual Paradigm Desktop provides Model Indicators for this purpose.
Select Model Indicator under the View tab of the toolbar to display indicators on diagram shapes that reference model elements from another project. A small arrow appears on the relevant shapes, helping you identify which elements originate from a referenced project.
This is especially helpful when diagrams contain a mixture of local and referenced elements.
Finding referenced elements used in your project
As a project grows, you may want to identify which referenced model elements are being used and where they appear.
The Model Explorer provides a List Referenced Model Element/Shape option in its project drop-down menu.
Selecting this option displays a tree of referenced model elements used by the current project. The tree helps you understand how referenced elements are being used, including the diagrams in which they have been visualized and documentation links associated with them.
This provides a useful way to inspect dependencies between the current project and its reference projects.
Understanding Read-Only Referenced Elements
A key characteristic of Project Reference is that referenced model elements are not directly editable from the current project.
When you place a referenced element on a diagram, Visual Paradigm creates a view of the original model element. The element remains defined in its source project.
This protects shared model definitions from being changed accidentally by projects that reuse them.
For example, suppose a central library project defines a Customer class. Three application projects reference that class. Each application can display and use the class in its own diagrams, but it cannot directly modify the original class definition through its referenced view.
If the shared definition needs to change, make the change in the project that owns the element. This keeps the source of the shared model definition clear.
There are situations, however, where you may need to work with a referenced element in a different way. Visual Paradigm provides mirrors and local duplication to support these scenarios.
Working with Mirrored Model Elements
Some model elements act as containers. Examples include UML packages and BPMN pools.
When you reference a container from another project, you may want to add local elements inside it. However, referenced elements are normally read-only, so you cannot simply edit the referenced container as though it belonged to the current project.
Visual Paradigm addresses this through mirroring.
A mirror is a partial local representation of a referenced model element. It continues to reflect the referenced element while allowing you to add local elements inside it.
For example, imagine a shared library project containing a package named Common Services. Your application project references this package and needs to place application-specific classes inside it.
You can convert the referenced package into a mirror. The mirrored package retains its relationship with the original package but allows local elements to be added inside it.
Creating a mirror
You can create a mirror manually:
- Place the referenced container element on a diagram.
- Right-click the referenced shape.
- Select Convert to Mirror from the popup menu.
Visual Paradigm can also convert a referenced container into a mirror automatically when you try to add a shape inside it.
The mirrored element itself remains non-editable, except that you can add elements into it. This preserves the distinction between the shared definition and the local content.
Mirroring is particularly useful when you want to reuse a shared package or BPMN pool while extending its contents for a specific project.
Creating a Local Copy of a Referenced Element
Sometimes, you do not want to continue referencing an element. Instead, you may want to create an independent version that belongs entirely to the current project.
In this situation, you can duplicate the referenced model element into the current project.
To create a local copy:
- Open the Model Explorer.
- Select the referenced project from the drop-down menu.
- Locate the model element you want to duplicate.
- Right-click the element and select Duplicate to Current Project.
The duplicated element appears in the Model Explorer under the current project.
Unlike a referenced element, this new element is local to the current project and can be maintained independently. Changes to the local copy do not modify the original element in the reference project.
This is useful when a shared model element provides a good starting point but needs to evolve independently for a particular application or business domain.
Viewing Diagrams from Referenced Projects
Project Reference is not limited to reusing individual model elements. You can also browse diagrams in referenced projects to understand their structure and design.
To view a referenced project’s diagrams:
- Select View > Project Browser from the application toolbar.
- Open the Diagrams page.
- Use the project drop-down menu at the top-left corner to select the referenced project.
- Browse the available diagram thumbnails.
- Double-click a thumbnail to open the diagram.
The referenced diagram opens in read-only mode.
This allows you to inspect the design in another project without having to switch away from your current modeling work or modify the referenced project.
It is useful when you need to understand how a shared class, package, component, or business process is modeled in its original context.
Refactoring Model Elements Between Projects
As your modeling structure evolves, you may discover that some elements should be moved into a shared library project rather than remaining in an individual application project.
Visual Paradigm provides Refactoring to move diagrams and model elements between projects that have a reference relationship.
For example, suppose two application projects independently contain classes representing common business concepts. You decide to consolidate those definitions into a shared library project so that both applications can reuse them.
Refactoring can move the relevant model elements into the reference project, allowing the application projects to reference the shared definitions.
You can also refactor elements in the opposite direction, moving elements from a reference project back into a project that uses them.
Refactoring model elements to a reference project
To move model elements into a reference project:
- Open the Model Explorer.
- Locate the model elements you want to move.
- Right-click the selected elements.
- Select Refactor to Referenced Project….
- Confirm the save prompt and review any related elements or diagrams that Visual Paradigm identifies.
- Follow the refactoring prompts to confirm the changes.
Refactoring may involve related model elements, such as connectors between selected elements or classes used as attribute types. Visual Paradigm identifies relevant dependencies so that the model remains consistent.
Refactoring a diagram
You can also refactor an entire diagram and its elements into a reference project.
Right-click the diagram and select Utilities > Refactor to Referenced Project…. Follow the prompts to review and complete the operation.
Important considerations before refactoring
Refactoring changes project structure and should be performed carefully.
Keep these points in mind:
- Refactoring cannot be undone.
- Visual Paradigm saves the project before carrying out the operation.
- Related project files should be available in the workspace so that dependencies can be checked.
- In a team environment, related projects should be checked out before refactoring.
- Review the elements and diagrams included in the refactoring operation before confirming it.
Refactoring is most useful when you are deliberately reorganizing shared model definitions, rather than simply trying to reuse an element in another diagram.
Referencing a Specific Revision of a Teamwork Project
For teams using Visual Paradigm Teamwork Server or VPository, Project Reference also supports referencing a specific revision of another teamwork project.
Instead of referencing the project as a whole, you can select an earlier revision to use as a reference.
To reference a specific revision:
- Select Project > Referenced Project.
- In the Manage Referenced Projects window, click Add Revision.
- Select the teamwork project you want to reference.
- Choose the revision.
- Click OK.
Visual Paradigm downloads an independent copy of the selected revision to your local machine and establishes the project reference.
The referenced revision is independent and read-only. You cannot modify it or perform teamwork operations such as commit or update on that revision copy.
This capability is useful when a project needs to rely on a known version of shared model definitions rather than the latest state of another teamwork project.
Practical Examples of Project Reference
Project Reference can support different modeling approaches across software development, business analysis, and enterprise architecture.
Sharing a common domain model
A software organization maintains a library project containing common domain classes such as Customer, Product, Address, and Payment.
Several application projects reference the library and reuse the same class definitions. This reduces duplicated modeling work and helps maintain consistent terminology and structure across applications.
Organizing enterprise architecture projects
An enterprise architecture initiative may maintain separate projects for business architecture, application architecture, and technology architecture.
A project can reference model elements from another project when it needs to represent relationships across architectural domains. An overview project can bring selected elements together to communicate the broader architecture.
Reusing common business process definitions
An organization may maintain shared BPMN process elements or reusable process structures in a reference project.
Individual project teams can reference these elements when developing process models for specific departments or business units. Where a referenced container such as a BPMN pool needs local content, mirroring provides a way to extend it.
Maintaining shared technical components
An architecture team may maintain common components, packages, or interfaces in a dedicated library project.
Application projects can reuse these definitions in their own component and deployment diagrams, helping teams work from a common architectural vocabulary.
Consolidating duplicated model content
When several projects have developed similar model elements independently, refactoring can help move common definitions into a shared reference project.
The projects can then reuse the centralized definitions rather than maintaining separate copies.
Project Reference Best Practices
To get the most from Project Reference, establish a clear strategy for organizing and maintaining shared model content.
Identify what should be shared
Not every model element needs to belong in a reference project. Focus on elements that are genuinely reused across multiple projects, such as common domain classes, shared components, standard packages, or reusable business concepts.
Keep project-specific elements in their respective projects.
Establish clear ownership
Decide which project owns each shared model definition and who is responsible for maintaining it.
Since referenced elements are read-only in consuming projects, clear ownership helps teams understand where changes should be made.
Organize reference projects by purpose
A reference project should have a clear scope. For example, you might maintain separate libraries for a shared domain model, technical architecture components, or enterprise-wide business concepts.
Avoid creating unnecessary dependencies between projects.
Understand the difference between referencing and duplicating
Use a project reference when you want to reuse the original model element and retain its relationship with the source project.
Use Duplicate to Current Project when you need an independent copy that can be modified separately.
These two approaches serve different purposes and should not be treated as interchangeable.
Use mirrors for container elements
When a referenced package or BPMN pool needs to contain project-specific elements, use mirroring rather than trying to edit the referenced element directly.
This allows you to extend the container while retaining its relationship with the reference project.
Review dependencies before refactoring
Refactoring can affect related model elements, diagrams, and other projects. Before proceeding, review the proposed changes and ensure the relevant project files are available.
For teamwork projects, coordinate with the team and make sure related projects are checked out.
Project Reference vs. Copying and Pasting Model Elements
Project Reference and ordinary copying and pasting may both help you reuse model content, but they serve different purposes.
| Aspect | Project Reference | Duplicate to Current Project |
|---|---|---|
| Model ownership | Original reference project | Current project |
| Relationship with source | Retains a reference | Creates an independent copy |
| Editing referenced definition | Read-only in consuming project | Can be edited locally |
| Shared definition | Reuses the original model element | Creates a separate version |
| Typical purpose | Centralized reuse and consistency | Independent customization |
Choose Project Reference when several projects should use the same model definition. Choose duplication when a project needs its own independent version.
Frequently Asked Questions
What is Project Reference in Visual Paradigm Desktop?
Project Reference allows one Visual Paradigm project to link to another project and reuse its model elements. It helps organize shared model definitions into dedicated projects and reduces the need to recreate common elements across projects.
Can a Visual Paradigm project reference multiple projects?
Yes. You can add multiple projects through the Manage Referenced Projects window. The Model Explorer provides a drop-down menu for switching between the current project and the referenced projects.
Can I edit a model element from a referenced project?
Referenced model elements are read-only when used in the current project. To change the original definition, edit it in the project that owns it. If you need an independent version, use Duplicate to Current Project.
What is a mirror in Project Reference?
A mirror is a partial local representation of a referenced model element. It retains a relationship with the original element but allows local elements to be added inside it. It is particularly useful for container elements such as packages and BPMN pools.
Can I use diagrams from a referenced project?
Yes. You can browse diagrams in a referenced project through View > Project Browser, select the referenced project on the Diagrams page, and double-click a diagram thumbnail to open it. Referenced diagrams are read-only.
What is the difference between a referenced element and a duplicated element?
A referenced element remains associated with its original project and is read-only in the consuming project. A duplicated element becomes an independent model element owned by the current project and can be modified separately.
Can I move model elements between projects?
Yes. Visual Paradigm provides refactoring for moving model elements and diagrams between projects that have a reference relationship. Refactoring can help consolidate common elements into a library project or move elements back into a project that uses them.
Can I reference an earlier revision of a teamwork project?
Yes. For Teamwork Server and VPository users, you can use Add Revision in the Manage Referenced Projects window to reference a specific revision. The downloaded revision is an independent, read-only copy.
Does Project Reference automatically merge two projects?
No. Project Reference establishes a relationship that allows one project to use model elements from another. It does not simply merge all diagrams and model elements into one project. You can selectively reuse elements and use refactoring when you need to move model content between related projects.
Which Visual Paradigm editions support Project Reference?
Project Reference is available in the Standard, Professional, and Enterprise editions of Visual Paradigm Desktop. It is not included in the Modeler or Community editions.
Organize and Reuse Model Content with Project Reference
As modeling work expands across applications, business domains, and teams, maintaining common definitions becomes increasingly important. Recreating shared model elements in every project introduces unnecessary effort and makes consistency harder to maintain.
With Project Reference in Visual Paradigm Desktop, you can establish reusable model libraries, reference shared elements in your diagrams, inspect designs from related projects, and reorganize model content through refactoring.
By separating shared definitions from project-specific models, you can build a more modular and maintainable modeling environment—one that supports reuse without sacrificing the independence of individual projects.
Start organizing your modeling work with Project Reference in Visual Paradigm Desktop.