-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Treemap doesn't use all available space (grey space in treemap) #58
Comments
Yes, it does. Those grey areas are directories where the size of those files are too small for any useful rendering. This value can be configured in [Treemaps]
...
MinTileSize=3
... |
Beware that this will consume a lot more resources since all those tiny tiles now have to be taken into account, too. |
I know it is tempting, and I had the same thought before: Why not do some rendering with the directory just to fill that empty space? In my examples above that might indeed work - it's my /work directory where I keep my photos, my MP3 collection, my videos. Those directories are indeed filled with only one file type, so I could simply render each photo directory in cyan and each MP3 directory in yellow. But that does not work at all in the general case: When a directory contains mixed content (which is the case in the vast majority of directories), what color should it get? The color of its predominant content maybe? Well, what if that cannot be determined since over half the files belong to the "other" (i.e. "no clue what that thing is") category? We'd need some generic "directory with small stuff" color, right? Well, guess what, we have that. It's that grey you see. 😃 But that cannot be rendered just like the files because then you could not see a difference between a large file (like an ISO buried deep down in the directory hierarchy) and a large directory with a lot of small files. And that's what the treemap is there for in the first place. |
Maybe rendering those areas not just in grey, but in some "grey noise" pattern might be an improvement. Let me think about that. |
That's far readable for me. |
One reason why your WinDirStat experience is different is probably also the fact that Windows tends to have far less files than Linux: My Linux root filesystem has 338.000+ items including 258.000+ files in 8 GB while my Windows (XP) has 42.000+ items including 37.000+ files in 7 GB. Roughly 9 times as many files in roughly the same space means a lot more tiny files which contributes a lot to the "lots of stuff suppressed because of miniscule size" phenomenon. |
The Treemap doesn't use all space avaible for each folder but leaves grey areas in each zone :
At maximum zoom there's no problem the area is filled with tiles :
The text was updated successfully, but these errors were encountered: