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

Feature Request: Highlighting inbound / upstream connections. #12

Closed vr00n closed 6 years ago

vr00n commented 6 years ago

When clicking on a particular entity, it highlights all the outbound (downstream) connections but excludes all the inbound (upstream connections).

Any particular reason you chose to do this?

Perhaps you could have a toggle where users can choose whether to highlight:

28mm commented 6 years ago

Hi @vr00n

You're right: It would definitely be useful to highlight dependent/upstream resources as well as downstream/dependencies. There isn't a compelling reason for the current configuration, except that tooltips would occlude the upstream portion of the graph.

I think this will be a reasonable approach:

And a further consideration:

Thanks for bringing this up!

28mm commented 6 years ago

@vr00n

Pushed a partial solution (available as v0.1.8 on PyPi)

vr00n commented 6 years ago

Awesome - Thanks for the fast fast feature!