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

PHPMotion implementation - URL based videos (Hosted on separate location) -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -