-
-
Notifications
You must be signed in to change notification settings - Fork 731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] scale by file size #91
Comments
I'd love to see this aswell, however one must consider that this request might be slightly bigger than imagined. As far as I understand gource simply reads files affected by commits. To implement this you'd need to keep track of the files sizes aswell. If implemented it should preferably be an option as the crunchtime for large projects might increase a fair bit. Just want to fold in a big "Nice application!" =) |
There are a few issues with file sizes which has stopped me looking at this previously:
|
The layout could be okay if each file cluster is sorted by size, however it depends on how easy it is to change just that in regards to how the circles position themselves. If its a set pattern it's going to be clunky, However if they are "attached" to whichever circle is the one closer to center it should be fine. I'd dig in to the code to find out myself if I wasn't working to the point of frying my brain most days. |
instead of file size you can visualize the change size. for layouting, the layouter can still assume, that all files are same size. |
^ This. |
I would love to see this too. It certainly reflects work (slightly?) better. and can look quite cool |
I would love for this to happen. I have created a BountySource for it on 15 dollars. Not much, but I think Gource is a great project and want to give it a tip, (and a pull in the direction that could give it more use for myself and others). Thank you for this project, it is a great visualization tool. https://www.bountysource.com/issues/41113299-feature-request-scale-by-file-size |
Would love to see this feature! |
After over a year, there is still one backer only on @OneManMobile's bounty. 😉 |
@mschilli87 I have added $50 to the current bounty, would love to see this feature happen! 😄 |
Added another $35, adding the total bounty up to $100. Hopefully this will draw in some more attention :) |
Arrived here in 2021 via a goole search for "gource file size"... Thoughts:
|
Regarding scaling, one thing to try is having r³ be proportional to the number of lines. This produces a smaller range of sizes than equal areas (which would be r²), while still being ‘realistic’ if you consider the blobs to be spheres. Perhaps add one to all file lengths to solve the zero-size file problem. You can think of this virtual ‘line’ as the file name and metadata if you really want. |
Time for the annual comment on this 7 year old issue. Some thoughts:
Regarding bounty:
It's really sad that Bountysource shut down. This would have been an issue I'd be willing to donate to crowdsource. Are any similar services available nowadays? A first step could be to implement #136 to get the lines data in the Node class. And a second step could be to just scale the nodes without taking layout into account. |
Count me as a donator too ! |
I have a repo with a bunch of source files, and some sources files are much larger than others. I'd like to see this reflected in the visual representation, ideally by the size of the dots. Related to #54.
The text was updated successfully, but these errors were encountered: