# Researcher details how to turn hand-drawn sketches into editable diagrams using AI

Digest AI · Marketing & Small Business · published 2026-11-25T00:00:00Z

Canonical: https://digestai.news/story/researcher-details-how-to-turn-hand-drawn-sketches-into-editable-diagr

## Summary

Writing in Nature, researcher Ensar Aydemir outlined a method for using vision-enabled AI models like Google Gemini to convert hand-drawn scientific sketches into editable digital flowcharts. Rather than generating flat images, the workflow asks the model to output Draw.io-compatible XML or Mermaid code to preserve all boxes, labels, and connections as editable elements.

According to Aydemir, using AI as a code compiler rather than an image generator prevents issues like misspelled text and misplaced arrows. The author recommends using explicit prompts specifying a reconstruction task rather than a redesign to prevent models from altering structural logic or adding decorative elements.

## Key points

- AI models can convert sketches into Draw.io-compatible XML or Mermaid code
- Generates editable diagram components rather than flat, uneditable image files
- Prompts must specify a reconstruction task to avoid unintended design changes

## Why it matters

This approach offers a practical way for researchers, marketers, and teams to speed up visual documentation without losing control over design elements or layout accuracy.

## Sources

1. [From sketch to publication-ready flowchart: how AI tools can bridge the gap](https://nature.com/articles/d41586-026-03513-1) (Nature Machine Learning, 2026-11-25, primary source)

## Cite

Digest AI, "Researcher details how to turn hand-drawn sketches into editable diagrams using AI", 25 November 2026, https://digestai.news/story/researcher-details-how-to-turn-hand-drawn-sketches-into-editable-diagr

---

Written by Digest AI's editorial model from the linked sources; the sources are the record. Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse
JSON: https://digestai.news/story/researcher-details-how-to-turn-hand-drawn-sketches-into-editable-diagr.json
