Generate a langgraph.json config file for langgraph dev.
generate_langgraph_json(
output_dir: str | Path,
*,
graph_ref: str = './server_graph.py:graph',
env_file: str | None = None,
checkpointer_path: str | None = None
) -> Path| Name | Type | Description |
|---|---|---|
output_dir* | str | Path | Directory to write the config file. |
graph_ref | str | Default: './server_graph.py:graph'Python module:variable reference to the graph. |
env_file | str | None | Default: NoneOptional path to an env file. |
checkpointer_path | str | None | Default: NoneImport path to an async context manager that yields a
|