langchain_core.runnables.graph.LabelsDict

class langchain_core.runnables.graph.LabelsDict[source]

Dictionary of labels for nodes and edges in a graph.

nodes: dict[str, str]

Labels for nodes.

edges: dict[str, str]

Labels for edges.