chevron_right Demos chevron_right Tree Map
Related demos
Book a live Demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

  • Interactive graph visualization in real time
  • Integration example
  • Live Q&A and next step recommendations

30–45 minutes | 1:1 or team session | Online (Zoom / Teams)

No install required | We show live code

Book a free live demo

Live Demo — yFiles in Action

30–45 min | Online | No install required

For Developers, Product Mangers & Executives

30–45 minutes | 1:1 or team session | Online (Zoom / Teams)

No install required | We show live code

Book a free live demo

Tree Map Layout

1
2
5
5

Tree Map Demo

Tree maps allow to visualize hierarchical data using nested rectangles, which in this case are represented by graph nodes. The size of leaf nodes in a tree map is proportional to a certain data value (i.e. weight).

The TreeMapLayout algorithm arranges the nodes according to their weights and relations inside groups.

Application

A common application for tree maps is the visualization of the file structure on a hard disk. This example shows a tree map of the source code directory of the yFiles for HTML library. The node sizes are defined by the actual file size on disk in bytes.

Navigate the file hierarchy

For less cluttered graphs, only the children and grandchildren of the current root are visible.