Next AI Draw.io

Generate and edit draw.io diagrams, including complex cloud architectures and flowcharts, using natural language commands in a web or desktop app.

Generate and edit draw.io diagrams, including complex cloud architectures and flowcharts, using natural language commands in a web or desktop app.

The gist

Next AI Draw.io is an open-source tool by DayuanJiang that integrates large language models with the draw.io diagramming editor. Built on Next.js, it allows users to create, modify, and enhance complex diagrams, such as cloud architecture or flowcharts, using natural language prompts. The application streamlines the visualization process by translating text commands directly into structured diagram XML, eliminating the need for manual arrangement of shapes and connectors.

What it does

  • Generate and modify draw.io diagrams using natural language prompts.
  • Create diagrams by uploading and replicating existing images, PDFs, or text files.
  • Generate specialized cloud architecture diagrams for providers like AWS, GCP, and Azure.
  • Refine diagrams iteratively through an interactive chat interface.
  • Track all changes with version control and restore previous diagram versions.

How it works

Users interact with the tool via a chat interface, providing natural language commands, images, or documents. The application leverages a large language model to generate or modify a diagram, which is represented as draw.io XML and rendered in the browser. It is an open-source project available as a self-hosted web app, a desktop application, or a CLI tool. While the tool itself is free, generating diagrams requires connecting your own API key for a supported AI model provider.

Best for

This tool is ideal for developers and solutions architects who need to rapidly create and modify technical diagrams, such as cloud infrastructure or application flowcharts, directly from text prompts.

Watch out for

The quality of the generated diagrams is highly dependent on the capability of the connected large language model; using less powerful models may result in formatting errors or incomplete diagrams.