I’ve always wanted a tool to better visually understand inter-file dependencies in Elixir projects to help me reduce compilation dependencies (and hence, reduce recompilation times), but none existed so I wrote my own! As part of my Code BEAM BR talk I’d like to release the tool.
Any elixir developer that wants to better understand (and hopefully reduce!) the inter-file dependencies of their project.
Acknowledgements
I’d like to thank my wife for helping me with the design, along with @rodrigues and members of the Elixir Hawaii community for providing valuable feedback during the initial design and development.
Did you see the talk by Rafał Studnicki about similar topic? https://www.youtube.com/watch?v=LkGx33Suzsk He does a very similar thing but uses different visualization method.
The idea is that all files are on a big circle sorted by module name. This makes closely connected files appear together (because they share the same prefix MyApp.MyContext…).
This also means that places or files do not change that much when you add new ones.
I wonder if it would be possible to use your tool which has more functionalities but with visualisation method proposed by him?
Thanks! That was a very interesting talk, and it is neat that it is also using d3.js
Hmm, it would be possible to add the per-file dependency visualization on top of a hierarchical edge bundling graph, and that would be a neat way to visualize the dependencies. It would be interesting to do that visualization.
My Code BEAM BR talk about DepViz was posted semi-recently. In it I give an overview of DepViz and talk about what causes applications to have lots of compile-time dependencies: