Research Figure

Scientific figure generator that turns a hand-drawn sketch (or text description) into a publication-quality SVG with guaranteed zero overlaps. Pipeline: read the sketch with a vision LLM → extract structured layout JSON → map to a grid-based SVG template → auto-validate for overlaps/overflow/clipping → iteratively refine until 0 failures. Triggers when: A teacher/colleague asks you to draw a scientific flowchart/diagram, you have a rough sketch (photo/scan/screenshot) and need a clean SVG, natural-language instructions are too vague for direct generation so the vision model must read the sketch first, you need SVG flowcharts with absolutely no text-box overlap or element clipping, or you want to convert a PowerPoint/whiteboard draft into a publication-quality figure. Commands: - /画图 <草图路径> [输出路径] - Full pipeline: read sketch → JSON → SVG → validate → refine - /画图 from-json <layout.json> [输出路径] - Build SVG from a layout.json - /画图 from-text "<描述>" [输出路径] - Build SVG from a text description (no sketch) - /画图 va

cycleuser add1bd3 10 files · 75.0 KB Updated

File contents

cycleuser/skills/tree/main/skills/research-figure commit add1bd386c

Frequently asked questions

npx skillmds@latest add cycleuser/research-figure