Who it is forA scientist or illustrator who prefers draw.io and needs a diagram that stays editable and can be exported as a PNG for a paper or poster.
The problemFigures from papers are often static images, so changing labels, arrows, or layout means redrawing them from scratch.
The outcomeAn editable .drawio file saved from the live canvas, plus a PNG preview exported at 2000 px width.
What you need first
- Codex with the ability to install plugins
- Microsoft PowerPoint, WPS Presentation, or draw.io Desktop installed and open
- The reference figure as an image file to upload to Codex
Steps
- Install draw.io Desktop from https://www.drawio.com/ and open it.
- Install the plugin by sending the install prompt from the README to Codex, then fully quit and reopen Codex.
- Upload the reference figure to Codex and send the draw.io prompt from the README in a new task.
- Check the canvas screenshot after each region, then confirm the saved .drawio file and the 2000 px PNG preview.
Prompt for your agent
Using the scientific-illustrator plugin, connect to the live draw.io canvas and redraw the uploaded reference figure as editable shapes, connectors, and groups. Save an editable .drawio file and export a PNG preview at 2000 px width. Verify that the canvas screenshot matches the reference layout before saving.
Caveat. The README says draw.io rejects shape names it does not recognize with an error, so some reference elements may need to be rebuilt by hand or cropped as an image.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page