[wxPython-users] Graphical Hierarchy Tree in wxPython
Christopher Barker
Chris.Barker at noaa.gov
Tue Jul 10 22:44:14 PDT 2007
Astan Chee wrote:
> Josiah Carlson wrote:
>> Astan Chee <stanc at al.com.au> wrote:
>>> Im trying to make a tree view in wxPython, except it is graphed and
>>> expressed as nodes.
>>> Im trying to display like
>>> http://wwweic.eri.u-tokyo.ac.jp/computer/manual/lx/SGI_Developer/books/Perf_GetStarted/sgi_html/figures/scene.graph.hierarchy.gif
>> I am not aware of a pre-existing example of this in wxPython, though I'm
>> sure it is possible with a bit of work with FloatCanvas.
Yes, this would be quite do-able with FloatCanvas.
> I was thinking it be easier to modify the wxDragImage example in the
> wxPython demo instead.
That could work too. The major advantage FloatCanvas would give you is
zooming and panning -- which you may or may not need. It'll also same
you a bit of coding.
OGL is worth a look too. It's made for boxes-connected-with-lines
diagrams -- I imagine it support circles.
If you do want more info about FloatCanvas, the mailing list is a good
place to start:
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
More information about the wxpython-users
mailing list