Hi Charles,

You're correct; for persistence, LightGraphs currently supports an internal 
graph representation and GraphML. If you can convert to GraphML you're in 
luck; otherwise, if you open up an issue someone might be able to code 
something up.

The quickest thing, perhaps, would be to import the gml into NetworkX 
(http://networkx.github.io) and then write it out as GraphML, which you 
should then be able to use in LightGraphs.

Seth.


On Saturday, July 11, 2015 at 3:48:52 AM UTC-7, Charles Santana wrote:
>
> Hi folks,
>
> Following the suggestion of Seth (
> https://groups.google.com/forum/#!topic/julia-users/Ftdo2LmxC-g) I am 
> trying to use LightGraphs.jl to read my graph files. 
>
> My graphs are in GML format (
> http://gephi.github.io/users/supported-graph-formats/gml-format/). 
> However, as far as I understand, LightGraphs.jl can not read graphs in this 
> format.
>
> I just found this thread talking about the creation of a GraphsIO.jl and 
> its integration with Graphs.jl and LightGraphs.jl (
> https://github.com/JuliaLang/Graphs.jl/issues/37) Do you have any news 
> about it? How can I read GML files to work with LightGraphs.jl?
>
> Thanks for any help!
>
> Charles
>
> -- 
> Um axé! :)
>
> --
> Charles Novaes de Santana, PhD
> http://www.imedea.uib-csic.es/~charles
>  

Reply via email to