Open cormullion opened 2 years ago
savegraph
saves by default a MetaGraphs using JLD2.jl
to HDF5 format.
loadgraph
loads by default a MetaGraphs using LG format.
You can load the graph using loadgraph(fn, gname, MGFormat())
We should probably have a consistent behavior here.
Thanks, didn't see MGFormat()
anywhere...
Yes, I found it by digging in the code, we should also document this.
for GraphML support there is this PR https://github.com/JuliaGraphs/GraphIO.jl/pull/49 on hold with an ongoing discussion. Please feel free to share your opinion.
I thought this should work, but it doesn't:
Is it something to do with the compressed format -
savegraph(.. ... metagraph ... , compress=false)
doesn't work either?Using Graphs v1.7.0, MetaGraphs v0.7.1, Julia 1.7.