jexp / neo4j-shell-tools

A bunch of import/export tools for the neo4j-shell
288 stars 55 forks source link

export-graphml misplaces <key> tags under the <graph> tag #103

Open AkshayPeshave opened 7 years ago

AkshayPeshave commented 7 years ago

The <key> elements that declare all <data> elements associated with graph elements are children of the <graphml> element per the graphml schema.

But when I run the export-graphml command in the neo4j-shell all the <key> elements are written out as children of the <graph> element. This causes import of the exported GraphML files using packages such as igraph and networkx to fail because they can't find the <key> tags under <graphml>.

I'm running the export on Ubuntu 15.04 with Neo4j COMMUNITY EDITION 3.0.4.

vanmil commented 7 years ago

I experience the same problem with this tool, it's a great tool but this issue makes this tool useless for me at the moment. Hope you can keep up the good work!

jexp commented 7 years ago

Oh sorry, I didn't see your comment. I look into it.