haskell-hvr / cabal-plan

Library and utility for processing cabal's plan.json file
https://hackage.haskell.org/package/cabal-plan
GNU General Public License v2.0
38 stars 25 forks source link

`cabal-plan dot` for internal dependencies only #84

Closed peterbecich closed 2 years ago

peterbecich commented 2 years ago

I believe cabal-plan dot generates a visualization of all internal and external dependencies.

Can a visualization restricted to internal dependencies be implemented?

Internal-only dependency visualization is a useful feature of Stack: https://docs.haskellstack.org/en/stable/dependency_visualization/

Thank you

phadej commented 2 years ago

For example take optics repository

cabal-plan --hide-global --hide-builtin dot-png

generates

deps

peterbecich commented 2 years ago

Thanks