Can AI Auto-Generate System Architecture Diagrams?

This article explores three use cases for AI-generated system architecture diagrams: generic technology diagrams, whiteboard diagrams, and diagrams of real-world systems. Experiments show AI excels at generating generic technology diagrams and whiteboard diagrams, producing basic architecture diagrams from simple descriptions and readily accepting refinements. However, AI struggles with generating diagrams of real-world systems, failing to accurately extract information from source code to produce detailed, accurate architecture diagrams. This is mainly due to challenges including a lack of sufficient training data, the complexity of code analysis, and the AI's difficulty in understanding system design intent. In short, AI-assisted whiteboarding is feasible, but auto-generating diagrams of real-world systems remains a challenge, requiring essential human involvement.