For small scale project, it would be easy to use Diagram Navigator to manage it. However, for middle to large scale project which has considerable numbers of diagrams and model elements, it would be better to use Model Explorer to organize the project.
VP-UML loads diagrams and model elements only when they are used. For example, opening a diagram will load all its diagram elements, and opening the specification dialog box of a model element will cause it (and the model elements it referenced) to be loaded. Besides, selecting a tree node in the Model Explorer will cause the corresponding element to be loaded as well.
For this reason, we recommend you to group diagrams using Model instead of laying them flat in the project. This can avoid accidentally loading diagrams and model elements that you never use, and thus can speed up project loading and saving.
To create a Model, right-click on the project node in Model Explorer and select Model from the pop-up menu. You can either create a custom Model by selecting New Model..., or create a pre-defined Model (e.g. Analysis Model) by selecting it in the list.
|
|
| Create a model in Model Explorer |
To create diagram in model, right-click on the target model, select Diagram from the pop-up menu and then select either create a new diagram or add existing diagram.
|
|
| Create a diagram under Model |
| NOTE: | When you create a shape, its model element will be put under the same model as diagram. |
If you are not organizing project structure with model, you may want to do it now. You can move a diagram from root into a model, or transfer a diagram from one model to another.
To move diagram from one model to another, right-click on the target model in Model Explorer and select Diagram > Add Existing Diagram... from the popup menu.
![]() |
| Add existing diagram to Model |
Select the diagrams you want to move in the Add Sub Diagrams dialog box and click OK button.
![]() |
| Select diagrams to move |
The selected diagrams will be moved to the target model.
| NOTE: | If you move a diagram which has the master view of model element(s), the model element(s) will be moved together with the diagram to the new model. |