0
$\begingroup$

I am trying to export a networkx graph into a format that vosviewer can read. When I wrote my graph to gml and pajek via nx.write_gml(G, path) and nx.write_pajek(G, path), vosviewer did not accept the output files.

With the pajek file, I got the folowing error : "error while reading Pajek network file (line 509) the index of a vertex must be between 1 and 709"

And with the gml file, I got this error: "error whie reading GML file (line 77) for each [there must be a corresponding]"

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.