I think what you're looking for is UML -> http://en.wikipedia.org/wiki/Unified_Modeling_Language
It's basically a formal standard of flowchart for modeling how different parts of a program interact with each other. There's tons of editors for it, I like using this one in particular -> http://www.asciiflow.com/#Draw
+--------------------------+ | asciiflow | +-->|--------------------------| | | http://www.asciiflow.com | +---------------------+ | +--------------------------+ | I refound asciiflow | | | today, it lets you +----+ | make ascii-art flow | | diagrams visually. | +---------------------+
(Not affiliated in any way, just find it really neat. Also, if you deliberately start your diagram four spaces from the edge then you get reddit/markdown code formatting for free.)