pkgnet icon indicating copy to clipboard operation
pkgnet copied to clipboard

Size nodes based on package weight

Open alistaire47 opened this issue 5 years ago • 0 comments

Given the conversation started by {itdepends}, would it be possible to size nodes in the visualization by package weight?

One option is to pick one metric from {itdepends} or make it user-settable. Maybe a more useful option is to compose the metrics into an overall score, though how to do so is very arguable. It would be interesting to do this both for packages individually, plus using a sum of their dependencies.

A quick 0-dependency way to get something in would be to just use the number of recursive dependencies for sizing. This obviously wouldn't get to differences in dependencies, but it would probably be a lot simpler to implement.

alistaire47 avatar Jan 24 '19 15:01 alistaire47