diff --git a/docs/visualization.md b/docs/visualization.md index 00f3126d..57bb209a 100644 --- a/docs/visualization.md +++ b/docs/visualization.md @@ -78,9 +78,11 @@ draw_graph(triage_agent).view() By default, `draw_graph` displays the graph inline. To save it as a file, specify a filename: ```python -draw_graph(triage_agent, filename="agent_graph.png") +draw_graph(triage_agent, filename="agent_graph") ``` -This will generate `agent_graph.png` in the working directory. +This will generate two files in the working directory: +- `agent_graph` — the DOT language script used to generate the graph. +- `agent_graph.png` — the rendered graph image (PNG is the default format),