From ea499b6c47d45d8dc8dd23189d00b0ca4095a5a2 Mon Sep 17 00:00:00 2001 From: nobleknightt <60701544+nobleknightt@users.noreply.github.com> Date: Mon, 7 Apr 2025 14:53:45 +0530 Subject: [PATCH] Update visualization docs to include default PNG output and DOT file generation --- docs/visualization.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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),