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:
- 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.
- Select New Blank Diagram. This
diagram is the root diagram.
- Select the new diagram in the Data Project Explorer, and type myOverview in
the Diagram name field in the Properties view.
- In the Data Project Explorer, click the Invoice diagram from the Diagrams folder
that is under the Invoice package.
- Drag the Invoice diagram onto the new myOverview diagram.
An oval diagram object is displayed on the myOverview diagram.
Now you add another
embedded diagram to the myOverview diagram and use annotation objects to document
the relationship between the two diagrams.
- Click and drag the Shipment diagram from the Diagrams folder
under the Shipment package to the myOverview diagram surface.
You can use lines
and text boxes to annotate the diagram with information about how these diagrams
are related.
- Click a Line object from the diagram palette, then click and drag
between the Shipment diagram object and the Invoice diagram object.
- Click a Text object from the diagram palette, then click and drag
the text object near the line object.
- Type Might require in the new text object.
- Save the Invoice.ldm file.
- 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.