Step - to_e

to_e · toE · category: Walking the graph

Moves to the incident edges in the given Direction, optionally only edges with the given labels.

Forms

to_e(arg1: Direction)
to_e(arg1: any, arg2: any)
to_e(arg1, …, arg10)

Example

g.v(1).to_e(Direction.OUT, "knows").count().next()   // 2