Step - add_e

add_e · addE · category: Changing the graph

Adds an edge with the given label; its endpoints come from from() and to() (see the book page addE() Endpoints).

Forms

add_e()
add_e(arg1: any)

Example

g.v(1).add_e("likes").to("3").label().next()   // likes

See also