'How to view a package dependency diagram?
There are ways to view module dependencies, gradle dependencies, and even class dependencies in various diagrams. A quick google search should turn up these tools.
I have not, however, had any luck finding a way to view package dependencies. I simply want a diagram showing how packages depend on each other based on import statements made within their source files. This visualization will be hugely helpful when trying to split a single module into multiple modules.
One response I anticipate is from java developers who may say that class dependencies are useful enough. However, I code in Kotlin where package-level members are possible. I have tried a class dependency diagram and it didn't seem to work for analyzing the dependencies of these package-level members. Also, that's unneccesary. All I need is to check the import statements, and I don't need to know where in each file those imported members are used.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
