label

How to designate the vertex label to use when loading data from a data file.

Synopsis

label "labelName"

Description

Sets the label of the vertex to the given name. The vertex label must already exist.

label can be used in both vertex and incident edge mapping (inE, outE).

Examples

Set the label in a mapping script to recipe.
label "recipe"