redhat-cop / pathfinder

Apache License 2.0
41 stars 37 forks source link

adoption graph dependency indentation issue on transitive dependencies #141

Closed matallen closed 5 years ago

matallen commented 6 years ago

so if you have C depends on B depends on A.

then if you uncheck B, then B vanished from the graph as it should but A is still indented based on where B was/would be.

if we filter out unchecked apps then A then depends on nothing (that is displayed) so it has no dependencies.

The solution is a more complex one, you have to walk the dependency tree to find apps that are checked and pass the dependency down the chain so that C depends on A (skipping out B)