Astan Chee wrote:
> Hi Chris,
> Thanks for all that help.

You're welcome.

> I have several questions: when graphing alot of nodes (there are 
> 500-4000 in my tree but only 1-3 levels) it seems to always fit to 
> screen so they look all clumped together.

In most of my examples, I put a call in to:

Canvas.ZoomToBB()

this set the zoom so that everything fits, but may not be what you want. 
You can pass in any bounding box you want to to ZoomToBB(), to show just 
what you need. Here's the method signature:

ZoomToBB(self, NewBB=None, DrawFlag=True)

 >or expand the width of the  window to suit the height?

You may want to do that too. You can set the Windows size in all the 
same ways that you way with any other wx.Window

 > Secondly, is there a way to 'hide' a node (and its line) ?

All FloatCanvas DrawObjects have a Hide() and Show() method.

Does that help?

-Chris




-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to