Merge graph data

The Merge transform lets you combine

  • nodes of a single category, or

  • edges of a single relationship

based on one or more of its properties. This is useful for simplifying a graph quickly.

You can also perform a quick merge on any selection of nodes via the right-click Actions > Merge menu.

You can immediately Undo (ctrl + Z_) a Merge transform. For merging modes of the same category, using the transform is a safer option than the right-click quick merge.

Use the Merge transform

The Merge transform can be used to combine duplicated nodes of the same category.

To merge selected nodes of a single category:

  1. Select nodes of a single category that you want to merge.

  2. Open the Transform panel and Merge subpanel.

  3. In Choose Merge Type, click Category or Relationship.

  4. Select the Category or Relationship to merge from the dropdown menu.

  5. In Select Property, select one or more key properties for the merge.

  6. In Options, select the Clear Unselected Property checkbox.

    06 04 01 MergeCatSetup
    A merged node will preserve only one of the values for each property from its source nodes. This preserved property value is usually meaningless and should be cleared.
  7. In the _Run _ button, see that the number of nodes is what you expect, then click to run the merge.

    If you didn’t select any properties, a Warning displays, alerting you that all the selected nodes will be merged into one.

    05 02 07 MergeNodesWarning
  8. Click Proceed to merge the nodes, or Cancel to exit without merging.

    The Log beneath the Run button displays error and status messages.

Use Quick Merge

The quick merge option is designed to either

  • combine duplicated nodes, or

  • collect property information that’s in two separate nodes onto a single node.

Often this involves merging two nodes, but any number of nodes you select (of any category) will be merged into one.

Quick merge available in Actions > Merge cannot be undone. Also, any selection of nodes (of any category) will be merged into one node. If you select nodes by mistake, the properties of the merged node may not be what you expect. Before using quick merge, either save a data View or Export a .graphxr file to your loacal system so that you can undo a mistaken merge.

To quick-merge selected nodes:

  1. Select nodes using any selection method.

  2. Right-click and choose Actions > Merge.

    05 02 05 ActionsQuickMerge

    The selected nodes are merged into a single node.