About this sample

This sample shows how to arrange the Diagram by using the TreeMapLayout algorithm.

Choose different options to assign weights and note how the layout changes.

This page requires a browser that supports HTML 5 Canvas element.