inE

How to designate the incoming edge to use when loading data from a data file.

Synopsis

inE "edgeLabel" {
  labelField "fieldName"
  vertex "vertexLabel" {
    label "labelName"
    key "fieldName"
  }
}

Description

Sets the information for an incoming edge to the given edge label and vertex. The edge label must already exist. labelField is optional.

Examples

Set the incoming edge in a mapping script to FridgeSensor.
inE "authored", {
  vertex "author", {
    label "author"
    key "name"
  }
}
The vertex with its label and key must be set along with inE.