Animation rendering becomes slow for large tree

40 views
Skip to first unread message

adeelmahmood

unread,
Dec 28, 2009, 3:27:59 PM12/28/09
to JavaScript Information Visualization Toolkit
I have a spacetree setup with request method loading children nodes
with an ajax request .. everything works fine but if you keep drilling
down the tree and it becomes large enough .. the animation rendering
to move the previous nodes back and the new nodes to the center starts
becoming slow and choppy .. which makes sense because I guess the
bigger the tree is .. the more nodes it has to figure out for
positioning .. can anything be done like telling the system to not
care about the nodes that are not in canvas or clearing the canvas in
such a way that it ignores the hidden nodes .. please any ideas would
be appreciated ..
also is it faster to use replot vs animate for opening up new
nodes .. ??
btw this is a great tool and I am impressed by the author of tool
contribution to these forums .. so thank you for writing a very well
written tool and also providing so much help for it.

adeelmahmood

unread,
Jan 5, 2010, 12:57:33 PM1/5/10
to JavaScript Information Visualization Toolkit
any ideas ?????????? plz

Tobes

unread,
Jan 7, 2010, 5:25:50 PM1/7/10
to JavaScript Information Visualization Toolkit
We tested RGraph with large diagrams and things got jerky after 200
nodes, but still just about usable at 1000 nodes.

What numbers are you looking at?

I think that if I had to optimise, I'd consider using Google-Maps
style lazy-loading.

T

Reply all
Reply to author
Forward
0 new messages