cd /news/ai-tools/a-repeatable-workflow-for-paper-figu… · home topics ai-tools article
[ARTICLE · art-18915] src=dev.to pub= topic=ai-tools verified=true sentiment=↑ positive

A repeatable workflow for paper figures so you stop redrawing them every revision

A developer has created a repeatable workflow for scientific paper figures that treats them as regenerable code rather than hand-crafted vector files. The process involves writing figure descriptions as plain text in a repository, feeding them into an AI tool to generate editable vector drafts, and storing the source description so revisions become simple text diffs rather than full rebuilds. This approach reduces figure revision time from an afternoon to roughly twenty minutes.

read2 min publishedMay 31, 2026

If you've shipped a paper, you know the figure tax: you build a beautiful schematic, a reviewer asks you to move one box, and you spend an afternoon re-aligning everything by hand. Do that across three revisions and you've spent more time nudging vectors than running the analysis.

I started treating figures the way I treat code: as something that should be regenerable from a source, not hand-crafted once and patched forever. Here's the workflow that stuck.

Before opening any drawing tool, I write the figure as a plain description in the repo:

ligand -> receptor (binding)
receptor -> kinase (activation)
kinase -> targetA, targetB (phosphorylation)
targetA -| receptor (inhibition, feedback)

This forces the logic to be explicit. If you can't write the relationships down cleanly, the figure isn't ready — and that's a science problem, not a drawing problem.

I feed that description into a tool that will create scientific figures with AI and get a laid-out first draft. The point isn't "AI does my figure." The point is the boring geometry — consistent boxes, even spacing, arrow routing — is done before I start, so my time goes into the parts that need judgment.

The non-negotiable: the result has to be editable vector, not a flattened PNG. When the reviewer asks to move a box, I move a box. When a journal wants a different size, it scales without turning into mush.

Because the source description lives in the repo, "revision 2" is a diff, not a rebuild. I change the text, regenerate, fix the few labels that matter, export. Twenty minutes instead of an afternoon.

It won't make a bad figure good — encoding, color logic, and what you choose to show are still on you. And the first draft always needs cleanup; anyone promising one-click publication figures is selling something.

But moving the source of truth from "a fragile vector file" to "a text description plus a generator" changed figures from a dreaded last step into something I can iterate on as fast as I iterate on the writing.

How do you handle figure revisions? Still hand-editing in Illustrator, or have you found a more reproducible setup?

── more in #ai-tools 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/a-repeatable-workflo…] indexed:0 read:2min 2026-05-31 ·