chatGPT says it can't draw diagrams. It refused to generate SVG for me when I asked. I had it draw some basic things with ASCII art but they were generally terrible. But, you can get it to generate the text for a mermaid diagram: