Mermaid has been great for a similar reason. For example, you can render a mermaid diagram inside a PR description on GitHub.
Comes in handy when describing a state machine or the flow of data.
Comes in handy when describing a state machine or the flow of data.