Save graph dataset

Once a heterogeneous graph was created by defining its schema of edges and node , I am wondering how to save graph as a whole dataset which preserve its attributes and structure, so that I can upload it easily next time without creating graph from scratch. Thanks

1 Like

As far as I know the only utilities provided in DGL related to your problem are the following:

If you tested the above methods and they were not suitable for your problem, then you have to implement it yourself.

1 Like

You should be able to pickle a DGLHeteroGraph by installing the latest version of dgl from source. For reference, see #1177.