The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
 _map( $self, $treedata, $left, $top, $right, $bottom )

NAME

Devel::WxProf::Treemap - Calculate Treemap for wxprofile

DESCRIPTION

This is a modified/rewritten version of Treemap. The main difference is, that the SPACING and PADDING parameters can take hash refs in the following form:

 {
     top    => 5,
     bottom => 5,
     left   => 5,
     right  => 5
 }

This allows for creating different spacings/paddings for each side, thus eases top-aligned labeling.

Note that treemaps with spacing and padding may be misleading - even more if spacing/padding is not (visually) equal on all borders.

AUTHORS

Martin Kutter <martin.kutter fen-net.de>

This is a modified/rewritten version of Treemap by

Simon Ditner <simon@uc.org>, and Eric Maki <eric@uc.org>

CREDITS

Original Treemap Concept: Ben Shneiderman <ben@cs.umd.edu>, http://www.cs.umd.edu/hcil/treemap-history/index.shtml

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.