mdegaris
unread,Nov 17, 2009, 6:12:46 AM11/17/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JavaScript Information Visualization Toolkit
Hi all,
I was wondering if its possible, when traversing a spacetree, for a it
to use the maximum space available within a canvas.
I have a space tree that has a maximum depth of 5 levels, with node
selections opening 1 level at a time (levelsToShow = 1). When
selecting nodes the space tree shifts to the left, opening the next
level, and centering the selected node (as expected). However, there
always appears to be unused space on the right side of the canvas -
enough to display another level of the tree. As I traverse the tree
and the root node reaches the left edge of the canvas, I would like
the subsequent node selection to make use of the free space available
on the right side of the canvas (if need be) - and not move the space
tree to the left. I realise that in this case the selected node will
not be centered on the canvas. I fear I'm breaking the fundamental
behaviour of the spacetree here, so I perfectly understand if its not
possible.
Anyway, I hope I've explained that well :)
Cheers for any help,
Marc.