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
Post a Comment