dependency-track icon indicating copy to clipboard operation
dependency-track copied to clipboard

Introduce toggle button in Dependency Graph to toggle component scope

Open thompson-tomo opened this issue 1 year ago • 0 comments

Current Behavior

Within my projects i have a number of development only dependencies and these are polluting my components and can result in un-ncessary false flags for vulnerabilites etc. For Instance adding Microsoft.VisualStudio.Web.CodeGeneration.Design as a development time dependency is adding nearly 70 dependencies, 50 of which are humanizer. I currently do not have a way to filter those dev dependencies out.

Proposed Behavior

I wish for there to be a toggle button in the Dependency graph screen with the default state being off like the other buttons. This button should say "show all scopes" and if on all packages components regardless of scope are shown whereas if off, only the required components are shown.

Notes

Functionality would only provide benefit once https://github.com/CycloneDX/cyclonedx-dotnet/issues/843 is fixed.

Checklist

thompson-tomo avatar Jan 28 '24 11:01 thompson-tomo