neo4j-contrib / neo4j-apoc-procedures

Awesome Procedures On Cypher for Neo4j - codenamed "apoc"                     If you like it, please ★ above ⇧            
https://neo4j.com/labs/apoc
Apache License 2.0
1.71k stars 494 forks source link

GraphML export issue: type of "labels" is missing #1697

Closed Basti82b closed 4 years ago

Basti82b commented 4 years ago

Expected Behavior

call apoc.export.graphml.all("Matches.graphml",{useTypes:true})

produces a GraphML file that contains all types.

Actual Behavior

The GraphML file contains all types except for "labels". Instead, there's an unused line:

<key id="label" for="node" attr.name="label" attr.type="string"/>

I have to change it to plural:

<key id="labels" for="node" attr.name="labels" attr.type="string"/>

Otherwise I get a parse error: 'unrecognized type "" for key' in Graph-Tool.

Versions

Basti82b commented 4 years ago

Duplicate of #1449. Seems to be fixed with #1638.