You can modify entity types and relationship labels. You can also add, modify, and delete properties for entity types and relationship labels.
You cannot modify or remove metadata elements if data loaded into a model includes the elements that you are trying to modify or remove. An error message is displayed if you try to remove entities or relationships that have data. Options to delete properities or change the data type are unavailable for entity or relationship properties with data.
This procedure describes how to edit a Context Graph model from within Spectrum
Discovery.
This updates the model and navigates to the Context Graph Model tab.
Add an entity
This procedure describes how to add a standard entity to a Context Graph model.
Edit entity properties
Note: You cannot edit properties that are currently populated with data.
The property and its data type are displayed in the table below the entry
fields.
Note: You can delete a property by clicking the Delete
button next to the property.
Add a relationship
This procedure describes how to add a relationship between a pair of standard entities.
Rename a relationship
This procedure describes how to rename a relationship in a Context Graph model.
Note: You cannot rename a relationship that is currently populated with data.
To rename a relationship, enter a new Relation Name in the Properties panel.
Note: All relationships with the same name share the same properties.
New name is | Then the relationship properties |
---|---|
Unique | Remain the same as with the previous name but are now independent of all other relationships. |
Shared by other entities | Are replaced by the properties associated with relationships that share its new name. |
Add relationship properties
The property and its data type are added to the table.
Note: You can delete a property by clicking the Delete button next to the property.
Delete an entity or relationship
Note: You cannot delete an entity or relationship from a model that is currently populated with data.
To delete an entity or relationship from the canvas, select it and click the Delete button on the toolbar or press the Delete key.
Any relationship links to an entity are also deleted.
Index entity properties
To index an entity property, click the Configure Indexes
tab and select the Index Type for any property in the
table.
Note: Properties with the same name in different entities always share the same
index type. When you change this setting for a property in one entity, the
change will apply for the same property in every other entity.
Index Type | Description |
---|---|
None | Indexing a property decreases search time for data in the corresponding field. However, you normally do not want to index a field that is rarely queried, because indexing many different fields slows performance when writing to a model. |
Exact | The search results must the match the case of all characters within a search string. |
Case Insensitive | The search results do not have to match the case of characters within a search string. This typically results in more matches for a search. |