Technical Support
Have technical issues or suggestions? Please contact Visual Paradigm Support Team.
Sales Support
Have questions related to registration, licensing or payment? Feel free to contact Visual Paradigm Sales Team.
Refactoring is a technique of improving your modeling efficiency by allowing you to extract part of a project to a higher level of abstraction so that other (projects) can get the common part(s) included without the need of re-definition. Let's say, for example, you are modeling an online store. You have created two projects for the distinct parts of the business - Buy order and refill inventory. When modeling buy order with BPD, you have found that pool like Store is needed by the refill inventory model, too. You then refactor the pool to a referenced project so that the refill inventory model can link with it and have the pool included.
![]() |
| What is refactoring? |
Refactoring not only reduce the time you need to spend by redefining same project data among projects. It also guarantees the correctness of model definition by enforcing common project data to be defined just once. This is also, in fact, the benefit of using project referencing.
You can refactor model element(s) or a diagram along with its contained element to referenced project. No matter which way you take, make sure project referencing was established. If you are unclear about project referencing, please read the previous chapters.
![]() |
| Open Model Explorer |
![]() |
| Refactor pool |
![]() |
| Delete only views of element, not model elements |
![]() |
| Elements to refactor (including those related elements) |
![]() |
| To re-use referenced pool on current project |
To refactor diagram means to refactor the diagram as well as the elements on the diagram. As the steps are pretty close to refactoring model element, as described above, please read refactor model elements before reading this section.
![]() |
| Refactor a BPD |
| 5. Duplicating element from linked project | Table of Contents | Chapter 4. Model element nicknaming |
Technical Support
Have technical issues or suggestions? Please contact Visual Paradigm Support Team.
Sales Support
Have questions related to registration, licensing or payment? Feel free to contact Visual Paradigm Sales Team.