Skip to content

[langgraph]: Document subgraph as a function call, soft hide subgraph as a node #551

@eyurtsev

Description

@eyurtsev

Type of issue

Clarification, better guidelines

Language

Python

Description

The documentation should encourage users to invoke subgraphs as functions rather than including them as a node.

Using subgraphs as a node has some gotchyas (state encapsulation) and it's not the default thing that users should be doing. We can explain the behavior, but by default the examples should be using function calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    langgraphFor docs changes to LangGraph

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions