Add dependency diagram and script to generate dependency diagram. - #80
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a Python script to automatically generate a dependency diagram for the Agent 365 SDK packages, along with the generated Mermaid diagram documentation. The script analyzes the workspace's pyproject.toml files to extract internal package dependencies and visualizes them with color-coded package types.
Key changes:
- Script that reads uv workspace configuration and parses pyproject.toml files to extract dependency relationships
- Generates a Mermaid diagram showing internal package dependencies with color-coded categories (Notifications, Runtime, Observability, Tooling, and their extensions)
- Creates DEPENDENCIES.md documentation with the visual diagram and package type legend
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| generate_dependency_diagram.py | New script to parse workspace packages and generate Mermaid dependency diagram with proper copyright header and type hints |
| DEPENDENCIES.md | Generated documentation file containing the dependency diagram showing relationships between 12 Agent 365 SDK packages |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Johan Broberg (@pontemonti) I've opened a new pull request, #81, to work on those changes. Once the pull request is ready, I'll request review from you. |
* Initial plan * Optimize file I/O by caching pyproject data during first pass Co-authored-by: pontemonti <7850950+pontemonti@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pontemonti <7850950+pontemonti@users.noreply.github.com>
|
Johan Broberg (@pontemonti) I've opened a new pull request, #82, to work on those changes. Once the pull request is ready, I'll request review from you. |
* Initial plan * Use regex for parsing dependency version specifiers Co-authored-by: pontemonti <7850950+pontemonti@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: pontemonti <7850950+pontemonti@users.noreply.github.com>
No description provided.