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

Open
opened 2026-02-17 17:19:09 -05:00 by yindo · 1 comment
Owner

Originally created by @eyurtsev on GitHub (Sep 16, 2025).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/551

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.

Originally created by @eyurtsev on GitHub (Sep 16, 2025). Original GitHub issue: https://github.com/langchain-ai/docs/issues/551 ### 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.
yindo added the langgraphinternal labels 2026-02-17 17:19:09 -05:00
Author
Owner
@lnhsingh commented on GitHub (Sep 16, 2025): Related to https://linear.app/langchain/issue/DOC-100/document-how-streaming-works-w-subgraphs-called-with-invoke-inside-a
yindo changed title from [langgraph]: Document subgraph as a function call, soft hide subgraph as a node to [GH-ISSUE #551] [langgraph]: Document subgraph as a function call, soft hide subgraph as a node 2026-06-05 17:25:02 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#91