Ability to see only the connected component of a given resource?
Opened this issue · 5 comments
Hi and thanks for a great tool!
It's great for understanding existing Terraform code. I'm aware of the -exclude
option but it doesn't quite cut it. What would be great to have is an option to specify a resource name, and based on that, the tool would filter out everything else that doesn't either depend on it or is depended on the given resource thereby presenting just a "slice" of the graph. This is to aid working with big graphs, especially that it doesn't seem to be possible to CTRL-F on the generated .html file (I guess that's due to how Cytoscape.js works).
This would require implementing some simple graph traversals but would reduce the graph to "just the interesting parts" when debugging some Terraform issue.
Curious to hear your thoughts
Hey!
We made an alternative: https://github.com/inkdrop-org/inkdrop-visualizer
Hey! We made an alternative: https://github.com/inkdrop-org/inkdrop-visualizer
Thanks! I don't see any way to filter based on dependencies in the demo though?
When you click on a resource, it highlights the dependencies:
Works as well when you have a cross module dependency.
I'd be happy to talk more about what you need if this does not do what you want.
https://calendly.com/antoine-inkdrop/25-min
I missed that, thanks!
Cool, thanks!