NodeType(mapping=None, *, ignore_unknown_fields=False, **kwargs)NodeType defines the schema of a node type in the graph.
Attributes |
|
|---|---|
| Name | Description |
type_ |
str
REQUIRED Name of the node type. This name is used to access the node type while defining the schema. |
labels |
MutableSequence[str]
Labels attached to the node. 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 node type. |
description |
str
A human-readable description of the NodeType.
|
optional_labels |
MutableSequence[str]
A node of this node type can have 0 or more of these labels. These node objects of this node type will have these labels alongside the required labels. |