WinDirStat

WinDirStat is a disk usage statistics viewer - Home/2 / blog / repo / github

It uses treemap to represents each file as a colored rectangle, the area of which is proportional to the file’s size.

caption

Project

Have same treemap vizualisation ported to linux

CodeMap

  • treemap code is in windirstat/Controls/treemap.cpp CTreemapPreview::OnPaint()
    • CTreemap::DrawTreemapDoubleBuffered() - CTreemap::DrawTreemap()
      • CTreemap::RecurseDrawGraph()
      • RenderLeaf()
        • RenderRectangle()
        • DrawCushion()
      • CTreemap::DrawChildren()

see also

Written on September 28, 2021, Last update on May 24, 2024
system disk treemap