Mutation
| Field | Type | Description |
|---|---|---|
plugins | MutationPlugin! | Returns a collection of mutation plugins. |
deleteGraph | Boolean! | Delete graph from a path on the server. |
newGraph | Boolean! | Creates a new graph. |
moveGraph | Boolean! | Move graph from a path path on the server to a new_path on the server. |
copyGraph | Boolean! | Copy graph from a path path on the server to a new_path on the server. |
uploadGraph | String! | Upload a graph file from a path on the client using GQL multipart uploading. |
sendGraph | String! | Send graph bincode as base64 encoded string. |
createSubgraph | String! | Returns a subgraph given a set of nodes from an existing graph in the server. |
createIndex | Boolean! | (Experimental) Creates search index. |
Field Details
plugins
Returns a collection of mutation plugins.
Returns
Type: MutationPlugin!
deleteGraph
Delete graph from a path on the server.
Arguments
| Name | Type | Description |
|---|---|---|
path | String! |
Returns
Type: Boolean!
newGraph
Creates a new graph.
Arguments
Returns
Type: Boolean!
moveGraph
Move graph from a path path on the server to a new_path on the server.
If namespace is not provided, it will be set to the current working directory. This applies to both the graph namespace and new graph namespace.
Arguments
Returns
Type: Boolean!
copyGraph
Copy graph from a path path on the server to a new_path on the server.
If namespace is not provided, it will be set to the current working directory. This applies to both the graph namespace and new graph namespace.
Arguments
Returns
Type: Boolean!
uploadGraph
Upload a graph file from a path on the client using GQL multipart uploading.
Arguments
Returns
Type: String!
sendGraph
Send graph bincode as base64 encoded string.
Arguments
Returns
Type: String!
createSubgraph
Returns a subgraph given a set of nodes from an existing graph in the server.
Arguments
Returns
Type: String!
createIndex
(Experimental) Creates search index.
Arguments
| Name | Type | Description |
|---|---|---|
path | String! | |
indexSpec | IndexSpecInput | |
inRam | Boolean! |
Returns
Type: Boolean!