node_data_str#
- langchain_core.runnables.graph.node_data_str(
- id: str,
- data: type[BaseModel] | RunnableType | None,
Convert the data of a node to a string.
- Parameters:
id (str) – The node id.
data (Union[type[BaseModel], RunnableType, None]) – The node data.
- Returns:
A string representation of the data.
- Return type:
str