Skip to content

ruby2elixir/dep_viz

 
 

Repository files navigation

DepViz

DepViz is a visual tool to understand Elixir recompilation.

It is accessible online at: https://dep-viz.herokuapp.com/

The intent is to help developers rapidly understand what compilation dependencies they have in their project. Then they can take steps to minimize them to reduce the feedback loop between writing code and seeing results.

Helps you answer questions about the Elixir code base:

  • Why when I change file A does it cause 100 files to recompile?
    • Investigate: What files will cause this file to recompile?
    • Investigate: What files does this file cause to recompile?

To start the server:

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with npm install inside the assets directory
  • Start Phoenix endpoint with mix phx.server

Now visit localhost:4000 from your browser.

Screenshots

Screenshot of Credo Screenshot of Credo while hovering over a node

FAQ

  • Is this usable with other graphs?
    • A: Not really, for example the graph algorithms needs to revisit the starting node if the starting node is itself part of a transitive compile time dependency chain

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.0%
  • Elixir 28.1%
  • HTML 6.1%
  • SCSS 5.8%