-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing concrete examples on how to get a graph from each file format #37
Comments
The README has an example at the bottom:
For GML, you'd replace To your specific problem, since you can store multiple graphs in a GML file, you need to specify the graph name. If you don't know it, you can use |
Also, the docstring for
|
I'm sorry, but this approach (with loadgraph) has been the first one I used, but I got the error displayed in deprecation.jl: |
The depwarn is just that - a warning. It will still execute the proper code, but it will also tell you what needs to be done to avoid such warnings in the future. Please show the exact steps you used (with |
Here is the GML file: https://github.com/empet/Datasets/blob/master/gstrang_descendants.gml.
error:
I installed
and both cases (with "graph" or without it) give the same error:
|
I'm getting a 404 error trying to access that gml file.... |
It's strange that it displays error 404, because the same link in my initial post works. |
That linked worked.
Then you can just reference
|
Thank you very much. I close this issue, but please, update the docstrings and the README file with new form of graph format, |
PRs welcome. We're all volunteers, after all. |
I migrated this year from Python to Julia and after working for 7 years with
python igraph
andnetworkx
, yesterday I started testing LightGraphs.jl and GraphIO.jl. I've been searching the web more than 1 hour to find out how to read a graph from a GML file. Unfortunately there is no documentation for GraphIO :(I couldn't find any (working) example on julia discourse or SO. To be more precise, I want to load and parse this gml file: https://github.com/empet/Datasets/blob/master/gstrang_descendants.gml.
with the following code (suggested by
deprecation.jl
):What string should be passed as
gname
? I also tried "digraph" but got the same error:Please give at least in the README file an example to see concretely how we can define a graph loaded from each file format.
The text was updated successfully, but these errors were encountered: