V1.1.6: Dependency Diagram#11
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
process_containerandprocess_providerlogic was moved fromprocess.pydirectly intogenerate.py, with the now-unneededprocess.pyandutils.pyfiles removed. The processing logic was rewritten for clarity and direct integration. [1] [2] [3].pyifiles) were updated to reflect these changes, removing references to deleted functions and updating imports. [1] [2] [3] [4] [5]Graph model and visualization improvements:
GraphandClustermodels were refactored to use a list-based structure fordrawableelements 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]NodeandEdgeclasses were simplified, removing unused attributes and parameters, and updating the edge drawing logic for better graph appearance.Documentation and dependency updates:
README.mdwas improved for clarity, especially around dependency declaration and planned features, and outdated sections were removed or updated. [1] [2]pyproject.tomldependencies were cleaned up:uvloopwas moved from the main dependencies to the test dependencies, and the package version was bumped to1.1.6. [1] [2]These changes collectively modernize the dependency graph generation, improve maintainability, and enhance both developer and user experience.