Skip to content

V1.1.6: Dependency Diagram#11

Merged
fabaindaiz merged 2 commits into
mainfrom
dev
Mar 22, 2026
Merged

V1.1.6: Dependency Diagram#11
fabaindaiz merged 2 commits into
mainfrom
dev

Conversation

@fabaindaiz
Copy link
Copy Markdown
Owner

This pull request introduces significant improvements and refactoring to the dependency graph visualization functionality, with a focus on simplifying the codebase, enhancing graph layout, and improving documentation. The main changes include moving and rewriting the graph processing logic, updating the graph models for better grouping and layout, and cleaning up dependencies and documentation.

Refactoring and codebase simplification:

  • The process_container and process_provider logic was moved from process.py directly into generate.py, with the now-unneeded process.py and utils.py files removed. The processing logic was rewritten for clarity and direct integration. [1] [2] [3]
  • Type stubs (.pyi files) were updated to reflect these changes, removing references to deleted functions and updating imports. [1] [2] [3] [4] [5]

Graph model and visualization improvements:

  • The Graph and Cluster models were refactored to use a list-based structure for drawable elements instead of a dictionary, and the graph drawing logic was enhanced to group nodes by in-degree for improved visual clarity. Invisible edges are now used more intelligently to maintain groupings and layout. [1] [2] [3]
  • The Node and Edge classes were simplified, removing unused attributes and parameters, and updating the edge drawing logic for better graph appearance.

Documentation and dependency updates:

  • The documentation in README.md was improved for clarity, especially around dependency declaration and planned features, and outdated sections were removed or updated. [1] [2]
  • The pyproject.toml dependencies were cleaned up: uvloop was moved from the main dependencies to the test dependencies, and the package version was bumped to 1.1.6. [1] [2]

These changes collectively modernize the dependency graph generation, improve maintainability, and enhance both developer and user experience.

@fabaindaiz fabaindaiz merged commit d1b1925 into main Mar 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant