Edit Mermaid.
Right on the diagram.
An open-source Mermaid editor. Let your agent draft the diagram, then tweak it in place.