Previous Topic: Creating a Diagram

Next Topic: Defining Attributes with the Diagrammer

Defining Entities with the Diagrammer

You already defined Project, the first of three entities for the application you are building. For more information, see Defining the Project Entity in the chapter "Defining Entities." In this section, you use the Diagrammer to define the Employee and Task entities.

To define the Employee and Task entities

  1. If you closed the diagram, reopen it.
  2. Right-click the upper-right corner of the diagram, and choose Create Node, and then Entity from the pop-up menu. The New Node dialog appears.

    Note: The caption on the dialog is Entity. The caption on this dialog shows you the type of object you are defining.

    PLEX--Defining Entities with the Diagrammer

    Note: When you create a node by right-clicking in the diagram, the node appears where you click the mouse.

  3. Type Task and click OK.

    Note: The Task node appears where you clicked your mouse.

  4. Move your mouse to the lower-right corner of the diagram and repeat Steps 2 and 3 to create a node for the Employee entity.

    Your diagram should look something like this:

    PLEX--Defining Entities with the Diagrammer (2)