graphql
Classes
| Class | Description |
|---|---|
| AllPropertySpec | Specifies that all properties should be included when creating an index. |
| GraphServer | A class for defining and running a Raphtory GraphQL server |
| PropsInput | Create a PropsInput by choosing to include all/some properties explicitly. |
| RaphtoryClient | A client for handling GraphQL operations in the context of Raphtory. |
| RemoteEdge | A remote edge reference |
| RemoteEdgeAddition | An edge update |
| RemoteGraph | |
| RemoteIndexSpec | Create a RemoteIndexSpec specifying which node and edge properties to index. |
| RemoteNode | |
| RemoteNodeAddition | Node addition update |
| RemoteUpdate | A temporal update |
| RunningGraphServer | A Raphtory server handler that also enables querying the server |
| SomePropertySpec | Create a SomePropertySpec by explicitly listing metadata and/or temporal property names. |
Functions
| Function | Description |
|---|---|
decode_graph | Decode a Base64-encoded graph |
encode_graph | Encode a graph using Base64 encoding |
schema | Returns the raphtory graphql server schema |
Function Details
decode_graph
Signature: decode_graph(graph)
Decode a Base64-encoded graph
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
graph | str | - | the encoded graph |
encode_graph
Signature: encode_graph(graph)
Encode a graph using Base64 encoding
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
graph | Graph | PersistentGraph | - | the graph |
Returns
| Type | Description |
|---|---|
| str | the encoded graph |
schema
Returns the raphtory graphql server schema
Returns str: Graphql schema