arun1729 / cog

Micro Graph Database for Python Applications
http://cogdb.io
MIT License
300 stars 24 forks source link

Save graph to file #35

Open dalek-who opened 2 years ago

dalek-who commented 2 years ago

Currentlt cog only provides APIs for loading graph from file like load_csv, load_triples, load_edgelist, can you provide corresponding APIs for saving, like save_csv, save_triples, save_edgelist?

arun1729 commented 2 years ago

I think these can be added. save_triples and save_edge_list should be straight forward because inherently they are both ways to represent graphs. But save_csv would need a bit more thought.

arun1729 commented 2 years ago

36 #37