Tips and Tricks
DB Visual ARCHITECT Topics

Using Mouse Gesture to Synchronize Class Diagrams and Entity Relationship Diagrams

Class diagrams are used to model the static behaviours of a system, while entity relationship diagrams illustrate the logical structure of the databases. As a classical entity relationship diagram focuses on data only, class diagrams go a step further by modeling the behavior as well. Using VP’s products, you can synchronize a class diagram to an entity relationship diagram by using mouse gestures which enable you to oversee the different focuses from both diagrams.

Synchronizing from Class Diagram to ERD

  1. Create a new class diagram and draw the following class diagram.


  2. Right-click on the diagram and hold on the mouse button to draw a line from left to right. Upon releasing the mouse button, the Sync to Entity Relationship dialog box will be displayed.


  3. Choose ID from the Primary Key drop down list for the Order and OrderLine classes. Click OK button to close the dialog box.




  4. An entity relationship diagram is generated automatically.

Synchronizing from ERD to Class Diagram

To synchronize an entity relationship diagram to class diagram, right-click on a source diagram and hold on the mouse button to draw a line from right to left. The entity relationship diagram will synchronize back to the class diagram when the mouse is released. After synchronization, the class diagram will be displayed as the active diagram.

Related Articles

Resources

 
 
Last modified: 2007/08/18 01:53
 
 
Home | Recent Topics | Highlights | UML Diagrams | Tips and Tricks | Object-Relational Mapping
visual-paradigm.com Home | Training Center | UML Center | VP Gallery | Discussion Forum | UML Open Directory