A flowchart of any function
Every if becomes a decision, every loop gets an arrow back to its start, return and raise end the path, and try and except draw the error path as a dashed line.
- Labels are the real code, shortened
- switch, match and case become one branch each
- print and input become input or output shapes