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.