|Previous Top Next|
Below is a screenshot of the Diagram Editor with all the relevant areas, you can click the areas for an explanation.
The following areas are available:
Below is an explanation of each area.
On this toolbar are buttons to Load and Save your diagram from and to a file, export it as an image for use in other products or print your diagram. When loading or saving your diagram, any sub-diagrams are included. Viewing properties like zoom factor, horizontal and vertical position are saved as well.
The Model Options button or context menu option Options in the workspace can be used to view and edit the model options.
The Validate Model button can be used to validate a model for correctness.
But this toolbar also holds other important items under the Tools drop down button:
Attach to Session and Reverse Engineer allow you to make your physical model part of an existing database session and import all objects into the Editor Workspace. For more information, see Connections and a Physical Data Model.
The Automatic Layout drop down button shows different automatic layout options. Using these will re-arrange the objects in your diagram according to different algorithms. Depending on the diagram, one might be more suitable than the other. This functionality is especially useful after reverse engineering your database to get a starting layout before rearranging items yourself.
This toolbar has a drop down box that allows you to select a zoom percentage and displays the current zoom percentage of the Editor Workspace. There are two "magifying glass" buttons to select the previous or next stage in zooming, you can also use the numeric keypad + and - buttons to adjust the zooming.
Switching between these viewing modes can be useful to get a better overview of your model. The statusbar displays the current viewing mode slightly to the right of its middle.
The buttons on this toolbar let you switch between the normal selection arrow, a "pan" hand and allow you to add or delete objects from the model.
With the Color Toolbar you can easily set the color of the items in your diagram. This toolbar holds 3 special drop down buttons, simply clicking them will change the color of all selected items to the "current color" of the button. This color is visible in the button image itself. If you click the drop down arrow, you can select a different color and you will see the button image change as to reflect the new color. If you have an item selected while changing the current color, the items will change color as well.
Modifying item colors is also possible by using the Format option in the item context menu.
The first two button on this toolbar control the item z-order. By using the Bring to Front button, you can bring an item "on top" of other items and by using the Send to Back button you can put an item "behind" other items. Using this functionality only has effect when items are stacked on top of eachother. A Region cannot be brought to front and is always behind items inside it.
The alignment buttons make it easy to get multiple items at the same left, top, right or bottom positions, or on the same horizontal or vertical axis. The first item you select is the item the other selected items get aligned to.
You can use the context menu to create a new sub-diagram or to delete or rename an existing one.
Sub-diagrams have their own set of viewing properties.
The Diagram Explorer area gives you a lists of the available diagrams (the main diagram and optional sub-diagrams), Entities and Domains or Tables, Views and Domains as available in the different model types.
You can drag items from the Diagram Explorer to the Workspace.
Deleting an item from the Workspace might not delete it from the Diagram Explorer, depending on your actions. This means that you can have different visual items in your diagram than available items. This is especially useful with sub-diagrams and diagrams for existing databases.
Below the treeview in the Diagram Explorer, you can find the Object Info pane, which lists properties of the selected object in the treeview.
The Editor Workspace is the area where you visualize your diagram. It can contain objects (entities, tables and views), links (relationships, foreign key constraints and documentation links), comment boxes and background regions.
At the bottom of the Diagram Editor, there's a statusbar displaying the following:
Next: Using the Diagram Editor