Editing a Logical Model - discovery - 23.1

Spectrum Discovery Guide

Product type
Product family
Spectrum > Discovery
Product name
Spectrum Discovery
Spectrum Discovery Guide
Topic type
How Do I
First publish date

You can modify details of a logical model using the Edit Logical Model page.

  1. On the Discovery menu bar, click Model.
    The Logical Model tab is displayed by default.
  2. Select the check box next to the model you want to modify.
    Note: You can search for a specific model using the Filter field on the top of the page. It searches the models by the model name.
  3. Click the Edit Model button .
  4. You can edit the name for the model in the Name field.
  5. From the Entities palette, select whether to use the Logical entities or the entities defined in the Glossary to create the model.
    Tip: Use the drop-down list in the palette to filter Logical or Glossary entities based on categories.
  6. Drag an entity to the canvas.

    The entity is added to the canvas and its properties are displayed in the Properties panel on the right side of the page.

  7. Enter a name for the entity in the Entity Name field.
    By default, entities of the same type are named in ordinal sequence (for example, "Document", "Document1", "Document2", …).
  8. To define a new property for an entity:
    1. Select the entity, and if necessary click the PROPERTIES tab to expand the Properties panel.
    2. On the Properties panel, enter details for the selected entity:
      Field Description
      Name Name of the attribute, for example, age.
      Semantic Type Semantic type of the data for this attribute.
      Note: When you select the semantic type, the related data type is displayed in the Type field.
      Type Data type for the attribute.
    3. Click the Add button. The defined attribute, and its semantic and data type are displayed below the entry fields.
      Note: You can delete a property by clicking the Delete button adjacent to it.
  9. To create relationships among entities, perform these steps:
    Note: An entity can have multiple relationships to other entities as well as to itself.
    To add a relationship to Do this
    Another entity Drag from the entity to the other entity.
    The same entity Drag from the entity to itself.

    A relationship is indicated by a relationship link pointing from the primary entity to the related entity, or to the same entity for a self-relationship. By default, relationships are named in ordinal sequence (relation, relation1, relation2, …).

    Note: As in case of entities, you can add or edit properties for a relationship in the Properties panel. For more information, see step 8.
  10. To delete an entity or relationship, select it and click the Delete button.
    When you delete an entity, any relationships with it are also deleted.
  11. Click Save.

The selected model is updated and listed in the Models tab of the Modeling page.