summon.sumtree
index
/home/raz/projects/summon/lib/summon/sumtree.py

Summon - tree visualization

 
Modules
       
atexit
copy
math
summon.shapes
summon
summon_core
sys
threading
time
summon.treelib
summon.util
summon.vector

 
Classes
       
__builtin__.object
SumTree
summon.SummonMenu(summon.Menu)
SumTreeMenu

 
class SumTree(__builtin__.object)
    SUMMON Tree Visualizer
 
  Methods defined here:
__init__(self, tree, name='SUMTREE', showLabels=True, xscale=1.0, showBranchLabels=True, showBoot=True, branchLabels={}, autozoom=True, vertical=False, winsize=(400, 400), winpos=None, colormap=None, layout=None, nodelabel=<function nodelabel>)
clearMarks(self)
drawNode(self, node)
drawScale(self, x, y, length, xscale)
drawTree(self, node)
enableLabels(self, visible=True)
find(self, name)
flag(self, names, flagColor=(17, 1, 0, 0, 1.0))
mark(self, names, boxColor=(17, 1, 0, 0, 1.0))
nodeClick(self, node)
printNode(self, node)
setColors(self, tree)
setTree(self, tree, layout=None, branchLabels=None)
Changes the tree in the visualization
show(self)
Shows visualization window
toggleLabels(self)
toggle the visibility of leaf names

Data and other attributes defined here:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'SumTree' objects>
list of weak references to the object (if defined)

 
class SumTreeMenu(summon.SummonMenu)
    summatrix popup menu
 
 
Method resolution order:
SumTreeMenu
summon.SummonMenu
summon.Menu
__builtin__.object

Methods defined here:
__init__(self, viewer)

Methods inherited from summon.Menu:
add_entry(self, text, func)
add_item(self, item)
add_submenu(self, text, submenu)
add_toggle(self, text, func, state=False)
clear(self)
clears all menu items
delete(self)
delete all the resources of the menu
get_item(self, index)
insert_entry(self, index, text, func)
insert_item(self, index, item)
insert_submenu(self, index, text, submenu)
remove(self, index)
removes a menu item at position 'index'
set_entry(self, index, text, func)
set_item(self, index, item)
set_submenu(self, index, text, submenu)

Data and other attributes inherited from summon.Menu:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'Menu' objects>
list of weak references to the object (if defined)

 
Functions
       
nodelabel(node)