Difference between revisions of "Modeler:Tutorial/Information Grammar Diagram"
Line 50: | Line 50: | ||
= Zooming diagrams in and out = | = Zooming diagrams in and out = | ||
1. Open the Diagram menu and select Zoom, 115%. The diagram will be enlarged. | |||
2. Open the Diagram menu and select Zoom, Zoom Out. | |||
= Using information blocks = | = Using information blocks = | ||
= Configuring an IGD = | = Configuring an IGD = |
Revision as of 11:26, 18 February 2013
In this lesson you will learn how to build, change and configure diagrams. (Starting with the diagram you have created in the previous lesson)
Popup-menu's are frequently used in this lesson. Almost every object in a diagram has it's own popup-menu. You can activate this popup-menu by positioning the mouse cursor on the object and pressing the right mouse button. The popup-menu of the diagram itself can be activated by positioning the mouse on an emtpy area of the diagram and pressing the right mouse button.
Placing all object types and fact types
Step 6
1. Drag the following object types and fact types from the IG Viewer to the diagram:
Apprenticeship, Apprenticeship City, apprenticeship code, Apprenticeship Description, Apprenticeship Preference, Assigned Apprenticeship, description, and number.
If you are working on a low resolution monitor you could use the popup menu 'Add Related'. Once you have arranged averything, you should end up with a diagram similar to this one:
Removing Objects
Step 7
1. Open the popup-menu of the 'Apprenticeship' object and select Hide.
Both 'Apprenticeship' and all lines to 'Apprenticeship' will be removed from the diagram.
Note: 'Apprenticeship' did not disappear from the Repository Window! Currently 'Apprenticeship' is the only object type / fact type in the Repository which is displayed in black. This indicates it is not placed in the active diagram. (The name of the active diagram can be found at the bottom of the Repository Window.)
2. Drag 'Apprenticeship' back to the diagram.
Moving Roles
Step 7
1. Keep the Alt-key pressed and drag role 11 on role 13:
2. Keep the Alt-key pressed and drag role 11 on role 12 to restore the diagram.
Note: As an alternative you may use the selection mode buttons in the diagram to drag roles.
Creating corner points in lines
Step 7
1. Click on the connecting line from 'Apprenticeship Preference' to 'Apprenticeship':
It is possible to select and drag corner points, they even have a popup-menu. In the popup-menu you can select options like Remove and Straight Line. It is possible to create multiple corner points in each line. If multiple points are selected, multiple points can be dragged.
2. Open the popup-menu from the corner point and select Straight Line.
Zooming diagrams in and out
1. Open the Diagram menu and select Zoom, 115%. The diagram will be enlarged.
2. Open the Diagram menu and select Zoom, Zoom Out.