Using Reverse Connector
A connector is the line connecting two shapes. It is most likely to show the relationship between the two shapes. Sometimes, a connector added shows the opposite of the desired relationship. To reverse the connector line, simply use the Reverse Connector feature.
Let’s see the two examples shown below illustrating the Reverse Connector feature.
Example 1:
To model a shopping cart system in terms of class diagram, a Customer and Purchase Order class can be identified. The association between the Customer and Purchase Order classes is a one-to-many association in which one customer can place many purchase order while a purchase order is placed by one customer only.
Let’s assume the following class diagram is drawn.
From the above class diagram, the association added between the Customer and Purchase Order is inverted with respect to the identified association.
To reverse the connected association, right-click on the connector, select Reverse Connector from the pop-up menu.
The association is inverted which is the desired association as shown below.
Example 2:
Related Articles
Resources
-
-
-
-
Chapter 2 Working with Projects - This chapter offers basis in working with VP-UML project, such as creating, exporting and merging projects.
Chapter 3 Working with Diagrams - This chapter shows you how to perform the visual modeling in VP-UML such as drawing diagram elements, customizing connectors and editing the diagrams etc.