io
Synopsis
io( <file_name> ).[read() | write()]
Description
Graph data is written to a file or read from a file using io
.
The file to read must be located on a cluster node, and the written file will be created on the cluster node on which the command is run.
Examples
Write the graph data to a file using the GraphSON format:
g.io("/tmp/food_qs.json").write()
Read the graph data from a file using the GraphSON format:
g.io("/tmp/food_qs.json").read()