qmetrics.net
D2Modern diagram scripting language from text Next AI Draw.ioAI-assisted draw.io diagram editor and MCP server

D2 vs Next AI Draw.io

How D2 and Next AI Draw.io compare on popularity, activity, license and platforms: two open-source Diagrams & Data Visualization projects, both alternatives to Google Drawings.

At a glance

Side by side

D2Next AI Draw.io
GitHub stars★ 26,029 +114 in 9 days★ 37,359 +177 in 9 days
Forks7973,850
Last committoday6 days ago
Latest versionv0.10.1v0.5.2
Repository startedSeptember 2022March 2025
LicenseMPL-2.0 · weak copyleftApache-2.0 · permissive
Self-hostedDesktop/CLI appUnknown
PlatformsLinux, macOS, Windows, CLIWeb, Linux, macOS, Windows
Main languageGoTypeScript
Alternative toGoogle DrawingsGoogle Drawings, Visio

Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.

D2

D2 turns text descriptions into diagrams through a declarative language. The usual workflow runs a CLI that reads .d2 files and exports vector or raster output.

Key features

  • Text-to-diagram declarative syntax
  • CLI with watch and live reload
  • Multiple layout engines
  • SVG, PNG, PDF, and PPTX export
  • Official themes and sketch mode
  • VSCode and Vim extensions

Next AI Draw.io

Next AI Draw.io turns text prompts, uploads, and selections into editable draw.io diagrams. It ships as a web demo, desktop builds, and an MCP server for coding agents.

Key features

  • Chat-driven draw.io diagram generation
  • Version cards with compare and restore
  • AWS, Azure, GCP, Kubernetes icon sets
  • Upload images, PDF, Markdown, or code
  • Edit selected shapes via chat
  • MCP server for IDE agents

More comparisons

Report a mistake on this page