UML was all about that. I find myself doing sequence diagrams very often. (https://en.wikipedia.org/wiki/Sequence_diagram)
Overall, UML was over-engineered and too complicated for most people to learn. Nonetheless, the various diagram-styles are great for communication and white-boarding purposes. https://en.wikipedia.org/wiki/Unified_Modeling_Language#Diag...