Ensar Aydemir, an endocrinologist at Sultan 1. Murat State Hospital in Edirne, Türkiye, describes how multimodal artificial intelligence tools can convert hand-drawn scientific sketches into publication-ready flowcharts.
Aydemir sketches diagrams by hand to work out logic quickly, without concern for formatting. Converting these rough sketches into clean digital figures for manuscripts is time-consuming, requiring alignment of text boxes, proper arrow connections, and consistent fonts, spacing and colors. A five-minute sketch can take an hour or longer to recreate digitally.
Rather than asking AI to generate final scientific images, Aydemir uses it as a translator. He photographs his sketch, uploads it to a vision-enabled language model such as Google's Gemini, and requests it convert the image into editable diagram code compatible with vector-based editors like Draw.io, a free diagramming application. This approach preserves editability, unlike image-generation models that produce flat, merged images difficult to revise if reviewers request changes.
Aydemir emphasizes that AI functions as a compiler in this workflow, translating human-readable sketches into structured formats like Draw.io-compatible XML or Mermaid syntax. The key to success is providing a detailed prompt that instructs the model to reconstruct rather than redesign. His example prompt includes the instruction: "This is a reconstruction task, not a redesign task."
He recommends focusing first on diagram structure by roughly sketching important nodes, branches and connections. Clear relationships between elements matter most. After uploading the sketch, he provides explicit instructions about what the model should preserve, including wording, branching relationships and directionality. Numbers, doses and time points require manual verification.