docs: fix grammatical error for navigating node to parent section (#3356)

Add within to better explain moving from one subgraph to another
This commit is contained in:
Zapiron
2025-02-12 23:59:59 -05:00
committed by GitHub
parent d45253cee8
commit a578c7b137
+1 -1
View File
@@ -357,7 +357,7 @@ Use [conditional edges](#conditional-edges) to route between nodes conditionally
### Navigating to a node in a parent graph
If you are using [subgraphs](#subgraphs), you might want to navigate from a node a subgraph to a different subgraph (i.e. a different node in the parent graph). To do so, you can specify `graph=Command.PARENT` in `Command`:
If you are using [subgraphs](#subgraphs), you might want to navigate from a node within a subgraph to a different subgraph (i.e. a different node in the parent graph). To do so, you can specify `graph=Command.PARENT` in `Command`:
```python
def my_node(state: State) -> Command[Literal["my_other_node"]]: