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: str | int [Required]#
param properties: dict [Optional]#
param type: str = 'Node'#

Examples using Node