Mermaid

(...) the open-source diagramming library and, the collaborative platform built on top of it.

https://mermaid.ai/open-source/