28mm / blast-radius

Interactive visualizations of Terraform dependency graphs using d3.js
https://28mm.github.io/blast-radius-docs/
MIT License
2.04k stars 258 forks source link

Add options for simplified graph display #10

Closed 28mm closed 6 years ago

28mm commented 6 years ago

The display of complex graphs quickly becomes confusing, especially when modules are used. Terraform itself supports a --module-depth option, that eliminate the display of deeply nested modules.

This ticket proposes several mechanisms for simplifying the display of these graphs.

  1. --module-depth -- the same as Terraform
  2. --focus -- present only a given node and its dependencies.
  3. --center -- same as --focus but also include nodes that depend on the given node.