← Back to updates

Nature Portfolio · Nature

From sketch to publication-ready flowchart: how AI tools can bridge the gap

Summary

When making a scientific diagram, whether I am outlining a clinical study, planning a flowchart or mapping a signalling pathway, I often start in the same way: with a pen and a piece of paper. Sketching by hand is fast. I can draw a box, cross something out and reorganize a whole idea without thinking about fonts, alignment or software menus. At this stage, my aim is not to make the figure beautiful, it is to work out the logic. Turning that rough sketch into a clean figure for a manuscript can be surprisingly tedious, however. Text boxes need to line up; arrows need to connect properly; and fonts, spacing and colours must be consistent. A diagram that took five minutes to draw might take an hour or longer to recreate digitally. Multimodal artificial-intelligence tools can shorten this process. Rather than asking an AI model to create the final scientific image, I use it as a translator. The model reads my sketch, interprets its structure and converts it into editable diagram code that I can open in a vector-based editor, such as Draw.io — a free application for making diagrams. This distinction matters. I do not want AI to invent a figure for me; I want it to help me to digitize a figure that I have already designed. Don’t just ask for a picture One tempting approach is to provide a description to an image-generation model and ask for a polished scientific figure. For research diagrams, this can create more problems than it solves. Text might be misspelt, arrows misdirected and pathways altered. More importantly, the resulting image is usually flat (that is, the text, images and background are merged together), making it mostly uneditable. For diagrams in research publications, if a reviewer later asks you to alter it, you might have to start from scratch. A better option is to ask a multimodal language model — for example, Google’s Gemini — to turn your idea into a structured diagram format, such as Draw.io-compatible XML or Mermaid syntax. The output can then be imported into a diagram editor, in which every box, label and connector remains editable. In this workflow, AI is less an illustrator than a compiler: a programming tool that translates human-readable instructions into code that a computer can run. My sketch is the source, and Draw.io XML is the output. Start with the logic Focus first on the structure of your figure. I roughly sketch the importa…

Evidence & checks

Discovery channel
Nature Portfolio · Nature
Original material
www.nature.com
Material type
Source page; material type not verified
Material basis
Source excerpt
Review status
No human-review record