Step - both_e

both_e · bothE · category: Walking the graph

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

Forms

both_e()
both_e(arg1: any)
both_e(arg1: array)
both_e(arg1: any, arg2: any)
both_e(arg1, …, arg10)

Example

g.v(4).both_e().label().to_list()   // ["knows", "created", "created"]