EdgeType(mapping=None, *, ignore_unknown_fields=False, **kwargs)EdgeType defines the schema of an edge type in the graph.
Attributes |
|
|---|---|
| Name | Description |
type_ |
str
REQUIRED Name of the edge type. This name is used to access the edge type while defining the schema. |
labels |
MutableSequence[str]
Labels attached to the edge. Composable, namespaced building blocks that define core attributes through associated properties. Multiple labels aggregate to fully specify the functional traits and property schema of the edge type. |
description |
str
A human-readable description of the EdgeType.
|
optional_labels |
MutableSequence[str]
An edge of this edge type can have 0 or more of these labels. These edge objects of this edge type will have these labels alongside the required labels. |