See examples at top of file
Add an additional node or edge file to the existing ones.
File object. Does not need to be uploaded yet.
See examples at top of file
Set the privacy mode of the dataset. All but the client are optional.
Client object
Privacy mode. One of 'private', 'public', 'organization'
Capability allowed when shared
List of user IDs to share with
Whether to notify users of the share
Message to include in the notification
Promise that resolves when the privacy is set
Add one or more bindings to the existing ones. In case of conflicts, override the existing ones.
For more information about each, see https://hub.graphistry.com/docs/api/2/rest/upload/
JSON dictionary of bindings to be added to the existing ones
See examples at top of file
Upload the dataset to the Graphistry server.
If files have not been uploaded yet, this method will upload them for you.
Upon completion, attributes datasetID and datasetURL will be set, as well as createDatasetResponse and uploadResponse.
Client object
Promise that resolves when the dataset is uploaded
See examples at top of file
Dataset definitions including required node_encodings, edge_encodings, metadata and name. Optional definitions include edge_hypergraph_transform, and description, and various subfields. URL settings may also be specified for additional styling. This method autopopulates definitions edge_files, and if provided, node_files.
Node files are optional: Nodes will be synthesized based on edges if not provided.
If files have not been uploaded yet, this method will upload them for you.
For more information about bindings, see https://hub.graphistry.com/docs/api/2/rest/upload/
For more information about URL style settings, see https://hub.graphistry.com/docs/api/1/rest/url/#urloptions
For more information about theming, see https://hub.graphistry.com/docs/api/2/rest/upload/metadata/
For more information on simple encodings, see https://hub.graphistry.com/docs/api/2/rest/upload/colors
For more information on complex encodings, see https://hub.graphistry.com/docs/api/2/rest/upload/complex/
JSON dictionary of bindings
File object(s)
File object(s)
JSON dictionary of URL options
Dataset examples
Datasets are how to combine files into a single visualizable graph. Powerfully, you can also specify visualization settings and data-driven visual encodings as part of your dataset's bindings.
For the many options, see the JSON documentation.
Create a dataset from edges and upload using async/await
Create a dataset from nodes + edges and upload using promises
Create a dataset using Arrow
Add files after the Dataset is instantiated but before it has been uploaded
Set privacy on uploaded dataset
Set simple data-driven bindings for titles, colors, icons, and labels