hcp-uw/algo-visualizer

Graph Visualizer Container Re-centering Bug

Closed this issue · 1 comments

Whenever the DFS graph algorithm is panned away and then the recenter button is clicked, the graph is completely gone. The underlying code of VisualizerContainer is that the graph should've been deleted and then rebuilt, but that isn't happening.

Another thing, when the graph is being recentered a second time after adding some more nodes to the screen, it results in a full page error
Screen Shot 2022-11-15 at 9 26 00 AM