Python: Workflow visualization. (#372)

* Workflow visualization.

* fix typing

* address comments

* update all samples

* Update fan in edge group visual

* fix quality check

* Update python/samples/getting_started/workflow/step_06_map_reduce.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* address comment

* Catch up with changes in workflow; add to_mermaid method

* Update examples

* fix test

* add installation guide to error messages

* Remove visualization for samples except for one.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Evan Mattson <35585003+moonbox3@users.noreply.github.com>
This commit is contained in:
Eric Zhu
2025-08-19 17:07:49 -07:00
committed by GitHub
Unverified
parent baaa9c0aee
commit 6900d3456c
11 changed files with 617 additions and 4 deletions
@@ -0,0 +1,11 @@
# Workflow Getting Started Samples
## Installation
You can install the workflow package with visualization dependency:
```bash
pip install agent-framework-workflow[viz]
```
To export visualization images you also need to [install GraphViz](https://graphviz.org/download/).