< Previous | Next >

Adding a diagram shortcut into a high-level root diagram

In this exercise, you create diagram shortcuts from existing diagrams in the Invoice.ldm model into a new blank diagram. With this feature, you can link more than one diagram together so that you can easily group related diagrams together, annotate the root diagram to describe the relationships, and navigate between diagrams. You will create a new blank diagram that will serve as the root diagram.

To add a diagram shortcut into a high-level root diagram:

  1. Right-click the Diagrams folder under the Invoice and Shipment package of the Invoice.ldm logical data model. This package is the root package for the model.
  2. Select New Blank Diagram. This diagram is the root diagram.
  3. Select the new diagram in the Data Project Explorer, and type myOverview in the Diagram name field in the Properties view.
  4. In the Data Project Explorer, click the Invoice diagram from the Diagrams folder that is under the Invoice package.
  5. Drag the Invoice diagram onto the new myOverview diagram.

    An oval diagram object is displayed on the myOverview diagram.

    Screen capture showing the new diagram object, as described.

    Now you add another embedded diagram to the myOverview diagram and use annotation objects to document the relationship between the two diagrams.

  6. Click and drag the Shipment diagram from the Diagrams folder under the Shipment package to the myOverview diagram surface.

    Screen capture showing the two diagram objects, as described.

    You can use lines and text boxes to annotate the diagram with information about how these diagrams are related.

  7. Click a Line object from the diagram palette, then click and drag between the Shipment diagram object and the Invoice diagram object.
    Screen capture showing the new line, as described.
  8. Click a Text object from the diagram palette, then click and drag the text object near the line object.
  9. Type Might require in the new text object.
    Screen capture showing the new text box, as described.
  10. Save the Invoice.ldm file.
  11. Optional: Open and view the Product diagram from the Diagrams folder under the Product package in the Data Project Explorer. The Product diagram uses a different type of presentation to show type systems.
You can now open the Invoice and Shipment diagrams from the myOverview diagram by double-clicking the new diagram objects.
< Previous | Next >

Feedback