Updated on 2023-03-03 GMT+08:00

Adding Custom Operations

Scenario

You can add custom operations executed by calling APIs. You can create shortcut operation sets.

Procedure

  1. In the Operations tab on the left of the graph editor, click Edit . The Add Operation button is displayed.
  2. Click Add Operation and set the following parameters in the displayed dialog box:
    • Name: Enter a name for the custom operation.
    • API Type: cypher, gremlin, algorithm, and path_query are supported.
    • Request Body: Enter the request body for the calling the API.
    • Description: Add a description for the operation.
  3. Click OK. These parameters cannot be changed after the operation is added.
  4. The new custom operation is displayed in the Operations tab. You can click the run button to execute the operation and view the results on the canvas.