microsoft / microsoft/agent-framework
Python: No API support for labels in Edges (for workflow visualizations
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
Description
The WorkflowBuilder API lacks support for adding labels or annotations to workflow edges. This makes it impossible to document edge purpose, data flow, or business logic directly in workflow visualizations.
Edge labels are essential for:
• Self-documenting workflows - Understanding workflow logic without examining code
• Conditional edge clarity - Explaining what conditions mean (e.g., "High Quality" vs "Low Quality")
• Data flow documentation - Showing what data flows between executors
• Stakeholder communication - Making diagrams understandable to non-technical audiences
Both Mermaid and DOT/Graphviz formats support labeled edges, but there's no way to specify labels in the workflow builder API.
This is supported in .NET and should also be in Python, for API Parity.
Code Sample
Language/SDK
Both
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.