Skip to content

Commit

Permalink
visualize button
Browse files Browse the repository at this point in the history
  • Loading branch information
socketteer committed May 3, 2023
1 parent 03c9032 commit b33a94d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions components/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,7 @@ def refresh(self):
# else:
# print('draw precomputed')
self.draw_precomputed_tree(pruned_tree)
# print('selected node:', self.selected_node)
self.color_selection(self.selected_node)

def compute_tree_coordinates(self, root, x, y, level=0):
Expand Down
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def wrapper(self, *args, **kwargs):
'modules': ["minimap"]},
'bottom_pane': {'open': False,
'modules': []},
'buttons': ["Edit", "Delete", "Generate", "New Child", "Next", "Prev", "Wavefunction", "Map"],
'buttons': ["Edit", "Delete", "Generate", "New Child", "Next", "Prev", "Visualize", "Wavefunction", "Map"],
'alt_textbox': False,
'show_search': False
}
Expand Down
2 changes: 1 addition & 1 deletion view/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def build_main_buttons(self, frame):
# ["Copy"],
["Edit"],
["Children"],
["Visualize"],
["Visualize", {}, dict(side="right")],

["Bottom pane"],
["Side pane"],
Expand Down

0 comments on commit b33a94d

Please sign in to comment.