Connect nodes and GraphEdgeWidgets into a graph.
|
|
list of int
|
_tags(self)
Returns:
a list of canvas tags for all graphical elements managed by this
canvas widget, not including graphical elements managed by its child
widgets. |
source code
|
|
None
|
|
None
|
|
|
|
|
_arrange_levels(self)
Re-arrange each level to (locally) minimize the number of crossing
edges. |
source code
|
|
|
|
|
_arrange_into_levels(self)
Assign a level to each node. |
source code
|
|
|
_reachable(self,
node,
reached=None)
How many *unexpanded* nodes can be reached from the given node? |
source code
|
|
|
_add_descendants(self,
parent_level,
levelnum)
Add all the descendants of the nodes in the list parent_level to the
structures self._level and self._nodelevel. |
source code
|
|
|
_add_descendants_dfs(self,
parent_level,
levelnum) |
source code
|
|
|
_add_descendants_bfs(self,
parent_level,
levelnum) |
source code
|
|
|
_add_descendants_bfs2(self,
parent_level,
levelnum) |
source code
|
|
Inherited from bigwidgets.CanvasWidget :
__getitem__ ,
__repr__ ,
__setitem__ ,
bbox ,
bind_click ,
bind_drag ,
canvas ,
child_widgets ,
destroy ,
height ,
hidden ,
hide ,
manage ,
move ,
parent ,
show ,
tags ,
unbind_click ,
unbind_drag ,
update ,
width
|