langchain_community.graphs.graph_document
.NodeΒΆ
- class langchain_community.graphs.graph_document.Node[source]ΒΆ
Bases:
Serializable
Represents a node in a graph with associated properties.
- idΒΆ
A unique identifier for the node.
- Type
Union[str, int]
- typeΒΆ
The type or label of the node, default is βNodeβ.
- Type
str
- propertiesΒΆ
Additional properties and metadata associated with the node.
- Type
dict
- param id: Union[str, int] [Required]ΒΆ
- param properties: dict [Optional]ΒΆ
- param type: str = 'Node'ΒΆ