GraphIO.jl icon indicating copy to clipboard operation
GraphIO.jl copied to clipboard

loadgraph not loading gml file

Open rdurelli opened this issue 3 years ago • 4 comments

Hello guys, Im trying to load a gml file, but I got some issues:

using LightGraphs, ParserCombinator, GraphIO graph = loadgraph("output.gml", "digraph", GraphIO.GML.GMLFormat())

When I execute the source code I always get the following message: ERROR: LoadError: UndefVarError: loadgraph not defined

rdurelli avatar Feb 15 '22 17:02 rdurelli

Can you try using Graphs.jl instead of LightGraphs.jl ? Since not too long ago the main graph packet for julia is Graphs.jl. https://discourse.julialang.org/t/lightgraphs-jl-transition/69526

Maybe LightGraphs is not exporting loadgraph but I wouldn't know for sure.

filchristou avatar Feb 21 '22 14:02 filchristou