Import GraphML to Neo4j: how to specify node labels? -


i want import graphml data neo4j database (version 2.0.1). question is, how can specify neo4j node label in graphml?

i tried following no avail:

<!--this format used when exporting neo4j data graphml--> <node id="1" labels=":page">     <data key="labels">:page</data> </node> 

so, how should format xml neo4j recognize node labels?

node labels can imported using -t switch of import-graphml command.

neo4j-sh (?)$ import-graphml  [...] -t   import labels labels node attribute and/or labels property. 

Comments

Popular posts from this blog

What can cause "Required Package 'IndyCore' not found" when compiling a Delphi 2010 project? -

Change the color of an oval at click in Java AWT -