create objects in the graphics function
Creating an entity type and/or inserting it into a data model
Click with the left mouse button on the entity type in the insertion area (in the lower right-hand corner of the screen). A phantom frame appears around the mouse pointer.
Position this phantom frame in the display area on the data model to which you wish to add an entity type.
A dialog box appears.
You now have two options:
- You can create a new entity type and insert it into a data model:
Enter a new entity type ID in the dialog box. A pop-up window appears.
If you wish to create a new entity type, confirm this by selecting Yes. The screen Create Entity Type: Definition appears.
Make the necessary entries and save the entity type.
Select Back to return to the graphic.
- You can insert an existing entity type into a data model:
Enter the name of an existing entity type (input help) in the pop-up window and confirm your entry with Cont. You are returned to the graphic.
- The entity type is now included in the graphic.
If the entity type was inserted into a data model, positioning mode will now be activated for this data model. The data model is displayed in the color magenta and all entity types of the data model can be moved. After inserting an entity type, you can move it directly to the desired position and save the positions in the graphic. (To exit from positioning mode, either select Edit ® Position cursor ® Positioning on/off
or switch to display mode.)
Using this procedure you can insert more entity types into the same or other data models.
Creating a relationship
Choose Edit ® Connect. The mouse pointer is transformed into a pencil symbol.
With the left mouse button held down, draw a line from the source entity type to the target entity type.
When you reach the target entity type, release the mouse button. The screen Create Relationships: Definition appears. Enter the necessary information and save the relationship.
After saving you are returned automatically to the graphic. The relationship you have created appears as a black line extending from the source to the target entity type.
Creating a specialization category
To begin with, select the entity type for which you wish to define a specialization category in the display area.
Click on the blue triangle in the insertion area. The mouse pointer is transformed into a phantom frame.
Position this phantom frame to the right of the selected entity type in the display area. A dialog box appears.
In this dialog box, enter the number of the specialization category.
The screen Maintain Specialization Category is displayed. Make the necessary entries and save your specialization category.
Click on Back to return to the graphic. The specialization category appears there as a blue triangle that is connected to the selected entity type by a broad blue line.
To begin with, create the associated entity types (see Creating an entity type and/or inserting an entity type into a data model).
Specify the specialization category for the generalizing entity type (see above under Creating a specialization category).
Connect the specialization category to the associated entity type. To do so, select Edit ® Connect. The mouse pointer is transformed into a pencil symbol.
With the left mouse button held down, draw a line from the specialization category (blue triangle) to the corresponding entity type. When you reach the entity type, release the mouse button.
The screen Create Specialization appears. Save the specialization.
You are returned automatically to the graphic. The specialization appears there as a broad blue line from the specialization category to the corresponding entity type.