Save money, and replace Visio, Lucidchart, Lucidspark, and Miro with a SmartDraw site license.
A programming flowchart like this one can give you a visual overview of the logic for your code.