vertex 

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

Synopsis 

vertex "fieldName", {
  label "labelName"
  key "fieldName"
}

Description 

Each record read from an input data file will have vertex information. vertex defines the label and key for a vertex that will be read. If no property values are set, all properties in the record will be input.

Examples 

Set the parameters for a vertex in a mapping script:
vertex "recipe", {
  label "recipe"
  key "name"
}
For this vertex, each vertex created with the vertex label recipe will be created from a record in the input file in which the vertex label is defined as recipe and the key field as name.