Add adk graph command and --ascii-only for DOT output
未关闭
core
needs review
- 主要语言
- Python
- 星标
- 21.5k
- 派生
- 4k
- 平均合并
- 1 天 14 小时
- 30 天内合并 PR
- 37
描述
### Summary:
Add CLI command adk graph to render agent trees as DOT/PNG/SVG, plus an --ascii-only option to strip non-ASCII for Windows consoles.
Motivation: Improve developer experience to visualize multi-agent hierarchies without launching the web UI; enable Windows CMD users to generate readable DOT.
### Scope:
New subcommand: adk graph
Formats: dot|png|svg
Option: --ascii-only for DOT
### Acceptance Criteria:
Running adk graph on a sample agent produces DOT with readable labels.
Optionally produces PNG/SVG when Graphviz is installed.
Windows CMD can generate ASCII-only DOT without encoding errors.
贡献指南
评估
这个 Issue 还没有评估数据。