pygui: updates to handle visibility toggles in relation to having nodes hidden, fix final position of a drawn edge when dragging to draw

This commit is contained in:
Blake Harnden 2021-02-17 15:23:04 -08:00
parent 4a21cd5789
commit 7871a678ca
5 changed files with 78 additions and 35 deletions

View file

@ -240,6 +240,7 @@ class CanvasGraph(tk.Canvas):
edge.delete()
return
# finalize edge creation
edge.drawing(dst_node.position())
edge.complete(dst_node)
def select_object(self, object_id: int, choose_multiple: bool = False) -> None: