anvaka / npmgraph.an

2d visualization of npm
https://npm.anvaka.com
MIT License
1.23k stars 83 forks source link

Feature Request: The size of the node should respect the size of the package #25

Open styfle opened 6 years ago

styfle commented 6 years ago

I believe the publish size of each package is being added to the npm registry. In the meantime, you could use Package Phobia to determine the size of the package and draw the circle at a size proportional to the package size.

How does that sound?

styfle commented 6 years ago

@anvaka Would you accept a PR with this feature?

anvaka commented 6 years ago

@styfle Sorry, I didn't plan to work on this at this time. If someone wants to try - I wouldn't mind merging and helping with review.

styfle commented 6 years ago

I would like to try 😁

I noticed this tool is made up of several npm packages.

Do you know which package would allow me to change the size/radius of the node in the graph?