Edit a knowledge graph in a link chart

You can edit a knowledge graph in a link chart. You can create entities and relationships, delete entities and relationships, and edit properties of existing entities and relationships.

Note:

Editing a knowledge graph's data and data model in ArcGIS Pro is not supported when the knowledge graph uses a NoSQL data store with user-managed data.

Create an entity

To create an entity, first open the Create Entities pane. Click an entity feature template for the link chart layer associated with the appropriate entity type. Click the forward arrow Forward next to the tool palette to define the entity's properties before creating the entity. Finally, create a feature that defines the new entity.

  1. On the Edit tab in the Entities group, click Create Create Features.

    The Create Entities pane appears.

  2. Click an entity feature template, and click the forward arrow Forward.

    The Active Template opens in the Create Entities pane.

  3. Type the property values you want to apply to the new entity.
  4. Click the link chart to create the new entity.
  5. When you are finished defining entities, save your changes. On the Edit tab, in the Manage Edits group, click Save Save Edits.

    The Save Edits dialog box appears.

  6. Click Yes to save your edits to the knowledge graph.

    To learn more, see Save or discard edits.

Tip:

To edit an entity's property values after creating it, on the Edit tab, click Attributes Attributes and select the entity in the link chart.

Create a relationship

To create a relationship, first open the Create Entities pane. Click a relationship feature template for the link chart layer associated with the appropriate relationship type. Click the forward arrow Forward next to the tool palette to define property values before creating the relationship. Finally, create a feature that connects one entity to another, defining the new relationship.

  1. On the Edit tab in the Entities group, click Create Create Features.

    The Create Entities pane appears.

  2. Click a relationship feature template, and click the forward arrow Forward.

    The Active Template opens in the Create Entities pane.

  3. Type the property values you want to apply to the new relationship.
  4. In the link chart, click an entity to define it as the source of the relationship.
  5. Click an entity to define it as the target of the relationship.

    The relationship is created and appears in the link chart as a line from the source entity to the target entity.

  6. When you are finished defining relationships, save your changes. On the Edit tab, in the Manage Edits group, click Save Save Edits.

    The Save Edits dialog box appears.

  7. Click Yes to save your edits to the knowledge graph.

    To learn more, see Save or discard edits.

Tip:

To edit a relationship's property values after creating it, on the Edit tab, click Attributes Attributes and select the relationship in the link chart.

Edit properties of entities and relationships

You can edit property values for existing entities and relationships by selecting them in the link chart. Open the Attributes pane Attributes, and edit properties for one or more of the selected entities or relationships at a time.

  1. On the Edit tab, in the Selection group, click Attributes Attributes.
  2. Select the entities or relationships you want to edit.

    Each selected item in each link chart layer is listed at the top of the Attributes pane.

  3. Expand a layer in the Attributes pane to see the entities or relationships that were selected. In the list, select one or more entities or relationships whose property values you want to edit.
    • To update values for all selected items, click the layer's name in the pane.
    • To select multiple entities and edit the same field with the same value, use the following keyboard shortcuts:
      • To select multiple items, press Ctrl while clicking the entities or relationships in the list.
      • To select adjacent items in the list, press Shift while clicking the first and last entities or relationships.
  4. Check or uncheck Auto Apply.
    • Check Auto Apply to apply your edits automatically when you press Enter.
    • Uncheck Auto Apply to apply your edits when you click Apply. Edited fields are highlighted with a green vertical bar until you apply your changes.
  5. Click the Attributes tab to edit property values.
  6. Click the cell you want to edit, change the value, and press Enter.
    • To change a date property using the calendar, click the cell and click Calendar Calendar. To enter the current date and time, click Today.
      Calendar
    • To set a property that accepts null values to Null, right-click and click Set To '<Null>'.
      Set To '<Null>'
  7. If Auto Apply is turned off, click Apply.
    • To cancel the edited value, click Cancel.
    Note:

    If you do not apply or cancel your edits for the selected entities or relationships before switching to a map or an investigation, you are prompted to apply or cancel any uncommitted edits.

    Uncommitted attribute edits

Delete entities and relationships

After selecting entities and relationships in a link chart, you can permanently delete them from the knowledge graph if they are no longer needed in any aspect of your investigation.

If you want to remove the selected entities and relationships from the link chart without permanently deleting them, use the Remove button Remove instead.

Learn about removing graph items from a link chart

There are some important details to remember when deleting content from a link chart.

  • When one relationship is selected, only the selected relationship is deleted. The origin and destination entities in the relationship are not deleted.
  • If one relationship group is selected, all individual relationships that participate in the group are deleted.
  • When one entity is selected, any relationship associated with the entity is also deleted, even if the relationship is not present in the link chart. A relationship must have both an origin and a destination entity in the knowledge graph.
  • If one entity group is selected, all individual entities that participate in the group are deleted, along with all relationships and relationship groups associated with those entities.

To delete entities and relationships as you work with a link chart, complete the following steps:

  1. Select entities or relationships you want to delete.
  2. In the Entities group, click Delete Delete.

    The selected entities and relationships are removed from the active link chart and deleted from the knowledge graph.

    Note:
    These edits are cached locally until they are saved or discarded. Other people working with the same knowledge graph won't see your changes until you save your edits. They might have to restart ArcGIS Pro to refresh their local cache and see these changes.
  3. When you are finished, save your changes. On the Edit tab, in the Manage Edits group, click Save Save Edits.

    The Save Edits dialog box appears.

  4. Click Yes to save your edits to the knowledge graph.

    To learn more, see Save or discard edits.

The deleted entities and relationships no longer appear in any open link charts, maps and scenes, or investigations where they were previously included.

If grouped entities in an entity group are deleted, the count on the entity group instantaneously decreases accordingly. Similarly, the count on a relationship group is instantaneously decreased if grouped relationships are deleted.

Related topics