Search code examples
androidmodularityandroid-module

what is the dependency graph tool used by the "Now in Android" sample app from google?


The now in android sample app can be found here.

Within the docs folder it has some really nice dependency graphs for the modules.

How did they create these dependency images? Does anybody know how I can replicate for my project?

enter image description here


Solution

  • Based on the discussion in the pull request where those images were added, they were generated with a custom plugin:

    mmoczkowski commented on Oct 10, 2022

    Hey, those were generated by a plugin. I'm planning to open source it at some point. Do you find the graphs useful?

    However they never replied again, so I guess the plugin is still not released.

    Another user suggested an alternative script that generates similar module dependency graph:

    I use Jake Wharton's projectDependencyGraph script generates a complete dependency graph of the project, the effect is roughly as follows, I hope it will help you