this is interesting, does it use IBIS on some level? i discovered IBIS and added it and mermaid diagrams to my app but it was a bit of a lark. i think what i pictured was similar to what you have here (and should be possible though i have not tested the IBIS > mermaid pipeline).
in any case: cool