Hi,

I have noticed a subtle typo in webadmin console cheat sheet (
http://localhost:7474/webadmin/#/console/):

Create relation

> myRelation = g.addEdge(edgeProps, refNode, secondNode, 'KNOWS')


will create the edge without the properties. The correct syntax is:


Create relation

> myRelation = g.addEdge(refNode, secondNode, 'KNOWS', edgeProps)

See
https://github.com/tinkerpop/gremlin/blob/master/src/main/groovy/com/tinkerpop/gremlin/loaders/GraphLoader.groovy
for supported .addEdges() definitions.

Pierre
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to