graphql

Classes

ClassDescription
AllPropertySpecSpecifies that all properties should be included when creating an index.
GraphServerA class for defining and running a Raphtory GraphQL server
PropsInputCreate a PropsInput by choosing to include all/some properties explicitly.
RaphtoryClientA client for handling GraphQL operations in the context of Raphtory.
RemoteEdgeA remote edge reference
RemoteEdgeAdditionAn edge update
RemoteGraph
RemoteIndexSpecCreate a RemoteIndexSpec specifying which node and edge properties to index.
RemoteNode
RemoteNodeAdditionNode addition update
RemoteUpdateA temporal update
RunningGraphServerA Raphtory server handler that also enables querying the server
SomePropertySpecCreate a SomePropertySpec by explicitly listing metadata and/or temporal property names.

Functions

FunctionDescription
decode_graphDecode a Base64-encoded graph
encode_graphEncode a graph using Base64 encoding
schemaReturns the raphtory graphql server schema

Function Details

decode_graph

Signature: decode_graph(graph)

Decode a Base64-encoded graph

Parameters

NameTypeDefaultDescription
graphstr-the encoded graph

encode_graph

Signature: encode_graph(graph)

Encode a graph using Base64 encoding

Parameters

NameTypeDefaultDescription
graphGraph | PersistentGraph-the graph

Returns

TypeDescription
strthe encoded graph

schema

Returns the raphtory graphql server schema

Returns str: Graphql schema