Jump to Menu

How to Attach File Reference to Model?

When doing visual modeling, each kind of model element carry its own specific type of model information. Sometimes the model specific information is insufficient to explain all the ideas of your design.

Compatible edition(s): Enterprise, Professional, Standard, Modeler

  • August 15, 2014
  • Views: 56,016
  • PDF
  • Video

00 cover

In Visual Paradigm you can add supplementary details to your model elements by creating references to other diagrams or resources. In this tutorial you will learn how to create reference between model elements and diagrams, as well as from model elements to a particular shape in a diagram, or even to another model element.

Adding reference

You can create reference to diagrams; shape in a particular diagram or even to a model element. To create reference:

Diagram reference

  1. Click on the model element to bring up the resource-centric interface.
    01 open resource centric
  2. Click on the Reference resource icon at the bottom left corner of the model element.
    02 open reference resource
  3. Select Add Diagram...
    03 add diagram
  4. Select the diagram(s) in the Select Diagram window, and press OK to confirm, then press OK again to close the specification window.
    04 select diagram

Shape reference

  1. Same as adding diagram as reference, click on the Reference resource icon.
  2. Select Add Shape...
    05 add shape
  3. Select the shape(s) in the Select Shape window by expending the diagrams, and press OK to confirm, then press OK again to close the specification window.
    06 select shape

Model element reference

  1. Same as the above, click on the Reference resource icon.
  2. Select Add Model Element...
    07 add model
  3. Select the model element(s) in the Select Model window, and press OK to confirm, then press OK again to close the specification window.
    08 select model
    Now the selected diagram(s) are added as reference to the model element you are working on. Besides adding diagram, shape or model element as reference, you can also make reference to external resources such as files or folders from your file system, or URL to external webpages.

Navigation with referenced diagram and elements

You can easily navigate from a model element to its referenced diagram/shape/model element. To navigate to the diagram or elements:

  1. Click on the Reference resource icon.
  2. Select the reference target from the popup menu to jump into it.
    09 open reference diagram
    If you are referencing to a model element and it does not appear on any diagram, then the specification window of that model element will be opened to display its details.

Navigate back from referenced diagram or element

From the referenced diagram or element, you can use the Referenced by feature to jump back to the source element.

  1. Click on the Reference resource icon and select Referenced by...
    10 open ref by
  2. Select the element in the Referenced by window, and press Open to jump back to the source element.
    11 ref by dialog
    For referenced diagrams, you can click the reference icon at the diagram toolbar to go back to the source element.
    12 ref by resource icon

Reference and model structure

The reference is only a logical relationship which do not affect the structure of your model.

Knowing which model element with reference

Since reference is only a logical relationship and it will not affect model structure, therefore it could be difficult to determine the reference relationship, especially when your model is large. To overcome this problem you can turn on the Model Indicator by selecting View > Model Indicator from the application toolbar. The following diagram shows you how the shape will look like with model indicator visible.

13 indicator

Please note that the resource icon will be shown only if the model element with reference to other elements. Elements being referenced by other will not have the icon showing even if the indicator is turned on.

Publish project to HTML with navigation retained

This kind of navigation is not limited to within the application. You can also have it inside the published HTML website. To publish your project into a HTML website:

  1. Save your project by selecting Project > Save from the application toolbar.
  2. Select Tools > Publish Project from the application toolbar.
  3. Enter the output location for the publisher in the Output directory field, and press OK to start publishing.
    17 specify output path
  4. Press OK when publishing is completed. This will launch the browser automatically showing the published content.
  5. Select the Use Case Diagram Car rental from the list.
    18 open use case diagram
  6. Click on the Reference resource icon on the diagram, and will show up a popup menu for you to jump to the referenced diagram or element.
    19 jump to ref in published result

Watch this Tutorial on YouTube

Here is the video version of this tutorial.



創造美好 共同成長

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.

OK