Martin Kutter > Devel-WxProf > Devel::WxProf::Treemap

Download:
Devel-WxProf-0.0.1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: v0.0.1   Source  
 _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.

syntax highlighting: