label
Extracts the specified labels.
Synopsis
label()
Description
The label()
step is a map step that extracts the specified labels.
Examples
Get all the vertex and edge labels in a deduplicated list:
g.V().label().dedup()
Was this helpful?
Thank you for your
feedback.