Take a look at (earlier versions) jHotDraw . This is the version of the java shell for the HotDraw structure, which ao Erich Gamma (GoF) developed a template language for its work.
You are unlikely to find any projects (open or closed source) with complete and updated documentation, including dependency maps. You may be able to find something extremely small for educational purposes. For systems where this is prescribed by law, the actual quality of documents is usually very low, since they are not created for any real benefit to the author or consumer of information, but simply to cover legal liability.
In open source projects, there is a strong tendency to only write documentation that is directly used, as they have a very good prioritization workflow. Communication is needed when transferring work. Documentation can provide this. But in most open source projects, there is a strong tendency for people who want to use a feature to also be the developer of that feature. There is very little documentation in this situation. Open source projects need review documentation that describes working standards, design patterns used, and anything that can help new entrants gain speed.
If you want to understand how difficult it is to properly manage dependencies, see:
Design data management: five dimensions of CAD frameworks, configuration management and product data management van den Hamer, P .; Lepoeter, K. IEEE Materials Volume 84, Issue 1, January 1996 Page (s): 42 - 56 Object ID 10.1109 / 5.476025
source share