# UML Elements Repository in VP

**URL:** <https://forums.visual-paradigm.com/t/uml-elements-repository-in-vp/14287>\
**Category:** General Questions/Discussions\
**Tags:** modeling\
**Created:** [July 5, 2018, 8:01pm UTC](https://forums.visual-paradigm.com/t/uml-elements-repository-in-vp/14287 "2018-07-05T20:01:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![haketl](https://avatars.discourse-cdn.com/v2/letter/h/58956e/32.png) [@haketl](https://forums.visual-paradigm.com/u/haketl)\
**Post date:** [July 5, 2018, 8:01pm UTC](https://forums.visual-paradigm.com/t/uml-elements-repository-in-vp/14287/1 "2018-07-05T20:01:31Z")

</div>

I’m new to VP.  
Wonder if there is a way to create a repository for UML elements that can be reused across different UML diagrams?

I imagine for example to create a repository for all UML Actors elements in one place and than just re-use them across different UML diagrams.

Is this something that can be done in VP ?

---

<div class="post-metadata">

**Author:** ![antony](https://forums.visual-paradigm.com/user_avatar/forums.visual-paradigm.com/antony/32/2411_2.png) [@antony](https://forums.visual-paradigm.com/u/antony)\
**Post date:** [July 6, 2018, 1:02am UTC](https://forums.visual-paradigm.com/t/uml-elements-repository-in-vp/14287/2 "2018-07-06T01:02:53Z")

</div>

Hi Hakim,

We already have such a repository for storing model elements, and they are accessible via the Model Explorer. To show the Model Explorer, simply click **View \> Panes \> Model Explorer** from the toolbar.

![model_explorer](https://forums.visual-paradigm.com/uploads/default/original/2X/2/22a109756c8e22de8dda68b0c40a032716603cc4.png)

This article teaches you how to reuse model elements using the Model Explorer:

> **[Reuse Model Elements in Different Diagrams - Visual Paradigm Know-how](https://knowhow.visual-paradigm.com/uml/reuse-model-element/)**
>
> With VP-UML, you are able to show model elements in various diagrams to fit into different contexts. Two ways are provided to assist you in reusing model elements in different diagrams. This article will teach you firstly dragging and dropping from...

And with lots of model elements in the repository, you’ll likely want to organize them better. Visual Paradigm suggests using Model to group related model elements, here is an article that teaches how (it uses Project Browser, but working with Model Explorer is very similar):

> **[Organize Project Data with Model - Visual Paradigm Know-how](https://knowhow.visual-paradigm.com/uml/organize-prj-with-model/)**
>
> Very often when a project was started for some time, a lot of model elements are created, and most of them are placed at root. This not only makes the searching of model elements become difficult, but it also slow down the application because Visual...

Hope you would find these resources useful.

Best Regards,

Antony.

---

<div class="post-metadata">

**Author:** ![ShelLuser](https://forums.visual-paradigm.com/user_avatar/forums.visual-paradigm.com/shelluser/32/204_2.png) [@ShelLuser](https://forums.visual-paradigm.com/u/ShelLuser)\
**Post date:** [July 10, 2018, 12:32pm UTC](https://forums.visual-paradigm.com/t/uml-elements-repository-in-vp/14287/3 "2018-07-10T12:32:39Z")

</div>

> [@haketl](#):
>
> I’m new to VP.

Welcome then! I hope you’re enjoying the software so far 🙂

> [@haketl](#):
>
> Wonder if there is a way to create a repository for UML elements that can be reused across different UML diagrams?

@antony already showed you a very good way, I’d like to demonstrate yet another (Visual Paradigm is extensive like that, there are often more than one solution to a problem! 🕶 ).

See, the repository which Antony showed above can also be used “on the fly”. And all it takes is pressing control-space instead of entering a name for your model element:

 ![image](https://forums.visual-paradigm.com/uploads/default/original/2X/9/96c49a842d95be562989f77560feab9d626ecd65.jpg)

In this project I just made a (small) Use Case diagram in another model (using the project browser’s ‘Model structure’ tab), and in the picture above I’m starting a new diagram. I double clicked on the canvas to open the Resource Catalog, I selected the actor model but then I did something special: instead of entering a new name I pressed control-space, see above.

What this does is list every other _related_ model element in your project. In my case this is an actor I named after myself. So if I want to re-use this element all I have to do is press cursor down to select it, and press enter (or you can click on it too of course).

This is an even faster way of reusing your items. And the best part (in my opinion) is that you don’t even have to think about what to use, because VP will ensure that you only get to see relevant models.

Hope this can help too!

---

<div class="post-metadata">

**Author:** ![haketl](https://avatars.discourse-cdn.com/v2/letter/h/58956e/32.png) [@haketl](https://forums.visual-paradigm.com/u/haketl)\
**Post date:** [July 13, 2018, 2:07am UTC](https://forums.visual-paradigm.com/t/uml-elements-repository-in-vp/14287/4 "2018-07-13T02:07:46Z")

</div>

Appreciated,  
Thank you
