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
I was trying to read in the manhatten.graphml file here with loadgraph(...) with the second gname argument hidden and got the Graph graph not found error.
But the GraphML file in question has only one graph. Looking at this line (https://github.com/JuliaGraphs/GraphIO.jl/blob/master/src/GraphML/GraphML.jl#L57) it appears that if the graph is directed, then we need to give "digraph" as the second argument to loadgraph
The text was updated successfully, but these errors were encountered:
Shushman
changed the title
Not obvious that gname arg should be "digraph rather than graph when directed graph
Not obvious that gname arg should be "digraph" rather than "graph" when loading directed graph
Nov 17, 2020
I was trying to read in the
manhatten.graphml
file here withloadgraph(...)
with the secondgname
argument hidden and got theGraph graph not found
error.But the GraphML file in question has only one graph. Looking at this line (https://github.com/JuliaGraphs/GraphIO.jl/blob/master/src/GraphML/GraphML.jl#L57) it appears that if the graph is directed, then we need to give "digraph" as the second argument to
loadgraph
The text was updated successfully, but these errors were encountered: