You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Graphs
using MetaGraphs
g =path_graph(5)
mg =MetaGraph(g, 3.0)
set_prop!(mg, :description, "This is a metagraph.")
savegraph("/tmp/test_graph.lg", mg)
mg1 =loadgraph("/tmp/test_graph.lg")
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.
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.
The text was updated successfully, but these errors were encountered: