Merge lets you combine nodes of a single category, or edges of a single relationship based on a property value. This is useful for quickly simplifying a graph.

Examples use the open-source dataset for the HBO series Game of Thrones. For a hands-on exercise, see our How to GraphXR tutorials.

Using Game of Thrones data, we can use the seasonEpisode property in the Lines category to combine all of the lines spoken on a single episode into a single node. Then there will then be only as many Lines nodes as there are Episodes nodes –– a far smaller number.

To combine nodes using Merge:

  1. Deselect all the data to operate on all the data.

  2. Open the Transform panel and Merge tab.

  3. Click Category and select the Lines category from the dropdown menu.

  4. In the Select key properties dropdown (or scrollable list), select the seasonEpisode property.

    NOTE: The resulting merged node will preserve only one of the values for each property from its source nodes. In most cases, these properties should be cleared by checking the Clear Unselected Properties checkbox before running the merge.

  5. Click Run.
    The graph is now far simpler. Instead of a few thousand nodes, the Lines category now includes only 73 nodes, which is the number of episodes in the series.