AlgoVision
AlgoVision copied to clipboard
Sort button launches simultanious sorts
When on http://0.0.0.0:5000/sorting
page, pressing the Sort
button more than once kicks off simultaneous searches. It looks really cool, but the searches conflict with each-other and it likely not the desired effect. Should limit to one search at a time. Possibly implement a Start/Stop
functionality.
Ideas:
- After pressing
Sort
, button turns red and text changes toStop
. When pressed a second time algorithm stops. - Implement Play/Pause/Stop buttons like in a media player.
Actually this problem affects path finding and searching tabs too. A really evident example of this problem is:
- searching tab:
- Select binary
- click Search 5 times
- Select sequential
- click Search 5 times
I am well aware of this bug. For now, it's not a priority for me. But soon I will work on it if no one else does.