docs: Remove outdated docs regarding graph construction (#4779)

Remove outdated docs regarding graph construction.
This commit is contained in:
Andrew Nguonly
2025-05-21 12:21:32 -07:00
committed by GitHub
parent 957db60d89
commit 94a8067c12
4 changed files with 2 additions and 12 deletions
@@ -155,10 +155,6 @@ const workflow = new StateGraph(MessagesAnnotation)
export const graph = workflow.compile();
```
!!! info "Assign `CompiledGraph` to Variable"
The build process for LangGraph Platform requires that the `CompiledGraph` object be assigned to a variable at the top-level of a JavaScript module (alternatively, you can provide [a function that creates a graph](./graph_rebuild.md)).
Example file directory:
```bash