Mutation

FieldTypeDescription
pluginsMutationPlugin!Returns a collection of mutation plugins.
deleteGraphBoolean!Delete graph from a path on the server.
newGraphBoolean!Creates a new graph.
moveGraphBoolean!Move graph from a path path on the server to a new_path on the server.
copyGraphBoolean!Copy graph from a path path on the server to a new_path on the server.
uploadGraphString!Upload a graph file from a path on the client using GQL multipart uploading.
sendGraphString!Send graph bincode as base64 encoded string.
createSubgraphString!Returns a subgraph given a set of nodes from an existing graph in the server.
createIndexBoolean!(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

NameTypeDescription
pathString!

Returns

Type: Boolean!

newGraph

Creates a new graph.

Arguments

NameTypeDescription
pathString!
graphTypeGraphType!

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

NameTypeDescription
pathString!
newPathString!

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

NameTypeDescription
pathString!
newPathString!

Returns

Type: Boolean!

uploadGraph

Upload a graph file from a path on the client using GQL multipart uploading.

Arguments

NameTypeDescription
pathString!
graphUpload!
overwriteBoolean!

Returns

Type: String!

sendGraph

Send graph bincode as base64 encoded string.

Arguments

NameTypeDescription
pathString!
graphString!
overwriteBoolean!

Returns

Type: String!

createSubgraph

Returns a subgraph given a set of nodes from an existing graph in the server.

Arguments

NameTypeDescription
parentPathString!
nodes[String!]!
newPathString!
overwriteBoolean!

Returns

Type: String!

createIndex

(Experimental) Creates search index.

Arguments

NameTypeDescription
pathString!
indexSpecIndexSpecInput
inRamBoolean!

Returns

Type: Boolean!