Organize Class Diagram with Model

This tutorial is aimed to introduce the use of model for organizing class diagrams, which makes the project content easier to read and manage. By reading this tutorial, you will know how to create model, create diagram under model and add existing diagram to model.

September 23, 2009
User Rating: / 5
Views: 4,657
PDF Link Add comments
Edition: Community or above (Edition comparison)

  1. Create a new project.
  2. Open the Model Explorer.
    open model explorer
  3. There are several default models for creation. Right click on the explorer pane and select Model > Implementation Model from the popup menu to create an implementation model.
    create impl model
  4. Create another model without using the defaults. Right click on the explorer pane again and select Model > New Model... from the popup menu.
    new model
  5. In the Model specification, enter Domain Model as name. Click OK to confirm.
    domain model
  6. Create a class diagram under the domain model by right clicking on Domain Model, and selecting Diagram > UML Modeling > Class Diagram from the popup menu.
    new class diagram for domain model
  7. Create another class diagram. This time, click on the class diagram toolbar button button in toolbar. Diagram created in this approach will put at root (won't show in Model Explorer).
  8. Create several classes in diagram.
    create classes in diagram
  9. In Model Explorer, move the new diagram to under Implementation Model by right clicking on Implementation Model, and selecting Diagram > Add Existing Diagram... from the popup menu.
    add existing diagram
  10. In the Add Sub Diagrams dialog box, select Class Diagram1. Click OK.
    add sub diagram
    Diagram and the classes are all moved to Implementation Model.
    diagram moved

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Writing Effective Use Case
  2. UML Package Diagram
    Tagged:
  3. Draw Entity Relationship Diagram (ERD)
    Tagged:
  4. Produce UML Use Cases from Business Process Diagram (BPD)
  5. Draw UML Sequence Diagram with Keyboard
Tags of this article:

Comments (0)

Write comment

Rating

Comment

Enter the calculation result

security code