I have my own flowchart layout code for a video processing application I wrote. But it is mainly to get everything on the page and connected, not to look nice. There is a visual editor for that. But something like this could be useful to me to improve that intial layout. I'll have to look into converting the flow diagram to Mermaid. From what I've seen of Mermaid that is probably not difficult. But I had AI building the Mermaid code in that case. Good work.

Right. Mermaid syntax for basic flowcharting is straightforward. But it's even easier to get your AI to produce Mermaid, which they do very readily. May I suggest you try the Line9 CLI, which lets your AI show you the diagram visually as soon as it's created.