# JUCE module dependency graph

**URL:** <https://forum.juce.com/t/juce-module-dependency-graph/61529>\
**Category:** General JUCE discussion\
**Created:** [May 24, 2024, 1:05pm UTC](https://forum.juce.com/t/juce-module-dependency-graph/61529 "2024-05-24T13:05:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdamVenn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamvenn/32/17023_2.png) [@AdamVenn](https://forum.juce.com/u/AdamVenn)\
**Post date:** [May 24, 2024, 1:05pm UTC](https://forum.juce.com/t/juce-module-dependency-graph/61529/1 "2024-05-24T13:05:14Z")

</div>

Is there a graph of how JUCE’s modules depend on each other? For example:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/3X/6/1/618d6b665be6dd9fe05949ddcf77c28864ceefa5.png)

But maybe up to date and with some classes in the boxes?

---

<div class="post-metadata">

**Author:** ![PluginPenguin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/pluginpenguin/32/10203_2.png) [@PluginPenguin](https://forum.juce.com/u/PluginPenguin)\
**Post date:** [May 24, 2024, 1:27pm UTC](https://forum.juce.com/t/juce-module-dependency-graph/61529/2 "2024-05-24T13:27:02Z")

</div>

You could easily create one yourself using CMake and the GraphViz Option – might need some settings and styling though. But I’m not sure what you mean with

> [@AdamVenn](#):
>
> some classes in the boxes

Which classes would you expect to appear in a graph like that, given that some modules probably contain hundreds of classes?

---

<div class="post-metadata">

**Author:** ![AdamVenn](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamvenn/32/17023_2.png) [@AdamVenn](https://forum.juce.com/u/AdamVenn)\
**Post date:** [May 24, 2024, 1:35pm UTC](https://forum.juce.com/t/juce-module-dependency-graph/61529/3 "2024-05-24T13:35:15Z")

</div>

Okay, I’ll have to look into that. I found this quite useful when trying to selectively exclude a module to replace it with a mocked version of a class.

You’re right, including classes definitely wouldn’t work on a static image! I included just the folder names and it became quite large:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/3X/4/d/4d101f87c5e7083756b0e5a31e86e65951312ded.png)

I exported an SVG to scroll around in and it’s quite handy, though.
