27.7 Managing Vertex and Edge Details

You can update the keys, labels, references, and properties for the vertices and edges in a property graph.

Note the following when managing vertices and edges:

  • Every vertex table must have a vertex key, and every edge table must have an edge key.
  • By default, the Modeler uses the primary key of the underlying database table as the vertex or edge key.
  • For an edge, the source key and destination key are automatically mapped to the corresponding foreign keys that reference the source and destination vertex tables, when suitable relationships exist.

The Modeler validates the graph element configuration and reports any errors or warnings. See Handling Errors and Warnings While Creating a Graph for more information.

Perform the following steps to inspect and update the vertex and edge tables (or views) details:

  1. Select a vertex or edge in the visual editor.
    The graph element details are displayed in the element pane on the right.
  2. Modify the selected graph element details.
    • Edit Vertex Details

      Figure 27-12 Editing Vertex Details



      1. Select a different Table/View, if required.
      2. Add or remove Key Column(s).
      3. Modify the Label Name.
      4. Add or remove Property Column(s).
    • Edit Edge Details

      Figure 27-13 Editing Edge Details



      1. Select a different Table/View, if required.
      2. Select the Key Column.
      3. Configure the Source Key and Source Column.
      4. Configure the Destination Key and Destination Column.
      5. Modify the Label Name.
      6. Add or remove Property Columns.
  3. Click Update Graph on the top right of the page.