#2 invisible leafs in SquarifiedTreeMapLayout

closed-rejected
nobody
None
5
2007-10-21
2006-07-31
No

Hi
I made a small modification to the
SquarifiedTreeMapLayout so that the layout respects
the visible flag of the tree leaf nodes.
If you hide nodes in the original implementation of
the layout, the space for the invisible nodes is
still reserved and rendered as blank space.
With the modification, no space is reserved for
invisible leaf nodes and for nodes where all children
are invisible.

cheers,
Daniel

Discussion

  • Jeffrey Heer

    Jeffrey Heer - 2007-10-21
    • status: open --> closed-rejected
     
  • Jeffrey Heer

    Jeffrey Heer - 2007-10-21

    Logged In: YES
    user_id=635506
    Originator: NO

    This is a good concern. Instead of using the requested fix here, I instead updated the tree map layout to handle the NodeItem "expanded" flag properly. Non-leaf nodes that are not expanded will not be included in the layout. You may need to update other aspects (e.g., label decorations) to hide items attached to nodes that are not expanded.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks