addEdge 

How to specify an edge.

Synopsis

vertex1 = addEdge('edgeLabel', vertex2, 'key', 'value', 'key', 'value')

Description

Edge data is inserted using addEdge. A previously created edge label must be specified.

Examples

Create an edge with an edge label rated between the vertices johnDoe and beefBourguignon with the properties timestamp, stars, and comment.
johnDoe.addEdge('rated', beefBourguignon, 'timestamp', '2014-01-01T00:00:00.00Z', 'stars', 5, 'comment', 'Pretty tasty!')