hi, seth contacted me to see whether my ParserCombinator library could do 
this, and i've just finished adding support for GML.  you can see it at 
https://github.com/andrewcooke/ParserCombinator.jl#parsers

that is currently only available via git (not yet in a published release).  
i've also emailed seth.  if either of you could have a look and tell me 
whether it's adequate or not, and / or report any bugs then i can look at 
releasing a version.

cheers,
andrew


On Saturday, 11 July 2015 11:04:08 UTC-3, Seth wrote:
>
> 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