Since I've been using Module Imports with the new JEP 511: Module Import Declarations, I'm curious about how to visualize the overall structure of different Java modules. For instance, while `java.desktop` and `java.compiler` are separate and only depend on `java.base`, `java.se` encompasses both of them. I want a way to see the complete hierarchy instead of looking at each module individually or scrolling through Javadocs. It would be awesome to have a tool for that, preferably with a graphical display, but a clear hierarchy view would do just fine!
2 Answers
If you're using Gradle, there's a built-in task that lets you view your project dependencies, which could help you visualize how everything connects.
You can actually find a lot of tutorials and images by just Googling for Java module dependencies. There's also a tool called Jdeps that can generate a DOT file, which you can use with Graphviz to create diagrams of the hierarchy.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically