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