Commit d928b8b
authored
fix(docs): update node references in subgraph example (#1883)
## Overview
<!-- Brief description of what documentation is being added/updated -->
- This PR fixes the incorrect output shown in the example [Full example:
different state
schemas](https://docs.langchain.com/oss/python/langgraph/use-subgraphs#full-example-different-state-schemas),
inside Subgraphs topic.
- As shown in the below screenshot from the documentation page, the
output contains nodes `grandchild_1` and `grandchild_2`, which are not
present inside the subgraph. Instead, the output should show the
subgraph nodes as `subgraph_node_1` and `subgraph_node_2`.
<img width="396" height="817" alt="image"
src="https://github.com/user-attachments/assets/2be847e4-02c6-4c91-9bf9-0c5b5c19f9c3"
/>
## Type of change
**Fix typo/bug**
## Related issues/PRs
N/A
## Additional notes
<!-- Any other information that would be helpful for reviewers -->
- The below given screenshot shows the output obtained after executing
the example in Jupyter Notebook:
<img width="761" height="884" alt="image"
src="https://github.com/user-attachments/assets/82d50b11-d5f7-4d64-a72e-1d2be2ebfba6"
/>1 parent ef7bf8b commit d928b8b
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
176 | | - | |
| 175 | + | |
| 176 | + | |
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| |||
0 commit comments