Call Graphs

You can make call graphs with paper and pencil or with drawing programs. The website asciiflow.com has a nice graph editor. A real ASCII version is at asciflow.com/legacy
The free software program dia is available for Linux, Windows, and macOS. Many other programs are available.

Desiging a program by using a call graph can help you plan. Doing so helps with coding, also.