Create a Property Graph by Editing an Existing Graph

You can edit an existing property graph on the Graphs page in Graph Studio.

The following lists a few scenarios for editing a graph:
  • Add or remove tables from the graph
  • Rename labels for edges or vertices
  • Alter the orientation of the edges
  • Add or remove a vertex or edge property
  • Rename a vertex or an edge property
To edit a graph, perform the following steps:
  1. Navigate to the Graphs page using the Graphs menu link.
    You can see the list of existing graphs in the Property Graph tab.
  2. Select the graph which you want to edit and click open the additional options menu as shown:
  3. Click Edit Graph in the context menu.
    The property graph wizard opens and displays the Overview page with the graph details.

    You can choose to perform one of the following actions:

    • Save the edited graph as a new Property Graph:
      1. Rename the graph by entering a new Graph Name.
      2. Follow the graph creation workflow from step-4 to step-7 as explained in Create a Property Graph from Existing Relational Tables, and edit the graph as required.

        Caution:

        When editing a graph, if you update the list of selected tables, then Graph Studio will generate a new property graph statement that will overwrite the current one.
      3. Click the enabled Save a Copy button.

        The Edit Graph slider opens.

        The Estimated in memory graph size is computed and displayed in the slider. See Estimated in memory graph size for more information.

      4. Click Confirm to save a copy of the graph with the new name.

        The new property graph gets created.

    • Update the existing property graph:
      1. Use the same initial Graph Name in order to overwrite the existing graph.
      2. Follow the graph creation workflow from step-4 to step-7 as explained in Create a Property Graph from Existing Relational Tables, and edit the graph as required.

        Caution:

        When editing a graph, if you update the list of selected tables, then Graph Studio will generate a new property graph statement that will overwrite the current one.
      3. Click the enabled Save button.

        The Edit Graph slider opens.

        The Estimated in memory graph size is computed and displayed in the slider. See Estimated in memory graph size for more information.

      4. Click Confirm to overwrite the graph.

        Caution:

        If you overwrite an existing property graph, then notebooks using these graphs may not work and hence they need to be manually updated.