Generate dependency graph for Hybris

I’m currently working as a developer on a large Hybris e-commerce solution. The codebase has been delivered to us with a large number of extensions and I was having a hard time visualizing how all the extensions were interconnected. I put together this simple script one evening, and made some quick tweaks at work to get it to work with our codebase. After generating the graph, we could immediately see where we were having dependency issues and were able to make adjustments.