[fc] Graphical Hierarchy Tree in wxPython

Astan Chee stanc at al.com.au
Tue Aug 7 22:42:31 PDT 2007


Christopher Barker wrote:
> Enclosed is the code and a screen shot. It should work with the =

> FloatCanvas shipped with wxPython 2.8.4
>
> -Chris
>
Hi Chris,
Thanks for all that help. Yeah, I know I did alot of redundant stuff, =

but the point was to quickly make a working graph hierarchy in windows, =

so I only paid attention to what worked in windows. Anyway, Im sold...Im =

modifying your Tree.py to suit what I'm doing, I'll post it up once its =

done. 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. How do you suggest to make =

this better? Maybe only focus on the root? or expand the width of the =

window to suit the height? How do I do that? (i've attached the picture =

of what I mean). Secondly, is there a way to 'hide' a node (and its =

line) ? or at least make it temporarily invisible? I dont want to delete it.
Thanks again for your help.
Cheers
Astan

-------------- next part --------------
Skipped content of type multipart/related


More information about the wxpython-users mailing list