Skip to content
Jinghao-codingPublic

About

Codex plugin for editable scientific figures in draw.io, WPS and PowerPoint, and research plots in Jupyter.

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Repository files navigation

FigWeft · 图纬

Let your AI agent draw scientific figures. Start with a description and get an editable SVG, draw in draw.io, WPS Presentation or PowerPoint, or plot experimental data with Python and Jupyter.

English · 简体中文 | Try a figure · Paper gallery · Install · User guide

FigWeft beside its editable reconstruction of the SteerVTE architecture. Five scene images sit among the model blocks and conditioning paths.

SteerVTE, NeurIPS 2026. Follow a reference frame through the style encoder, then trace the conditioning path to the diffusion backbone. The five photographic crops are images. The blocks, labels and connections are editable. Open the draw.io source · Download the PowerPoint / WPS deck · Paper, Fig. 2

Try a figure

Draw from a description

Draw an LLM serving system with separate prefill and decode GPUs. Follow one prompt through both engines. Show what crosses the link and how decoding reuses the KV cache.

The prefill engine processes the prompt. The decode engine receives its KV cache and generates subsequent tokens. Open the SVG to edit the tokens, matrices or paths. Editable SVG · Scientific figure design skill

Prompt tokens, prefill computation, KV-cache transfer and token-by-token decoding on a second GPU.

The GPU diagram illustrates prefill/decode disaggregation, as used in DistServe. For a closer look at memory, follow two requests to the same physical page in the second original drawing. DistServe, OSDI 2024 · Shared KV pages, editable SVG · PNG

Draw in the application you use

Redraw the SmallEP exchange on a WPS slide. Keep the token blocks, rank labels and arrows editable. Make the four crossing arrowheads legible on a projector.

The WPS captures below show the tips changing from medium to large while the lines stay at 1.65 pt. Open the example in WPS or PowerPoint and select any of the four crossing arrows. Download this slide · Presentation skill

Published reference, editable WPS drawing and magnified arrowhead at the same zoom.

Prefer draw.io? Try “In Ray, rename the Local Scheduler on Node A to Scheduler A and leave Node B alone.” Make the edit on the canvas, or run the Ray notebook to see the before and after images. Ray source · draw.io skill · Ray notebook

Plot experimental data

Draw horizontal bars for the WPS line widths before and after the edit. Use pixels on the x-axis and label each row with the point size set in WPS.

The two WPS captures were taken at the same zoom. Setting the line to 1.75 pt gave a measured width of 2.01 pixels. At 3 pt it measured 3.53 pixels. Use the same script with your own CSV or Excel sheet, or change the chart in Jupyter. Python source · Executed notebook · Data plotting skill · Jupyter skill

Measured widths of 2.01 and 3.53 pixels for the two WPS line settings.

Paper figures

Select a preview to see the drawing at full size. Each paper link points to the published figure or the authors’ manuscript.

SmallEP · OSDI 2026 SteerVTE · NeurIPS 2026
SmallEP dispatch and combine across two ranks SteerVTE conditioning encoders, losses and diffusion backbone
Follow the crossing paths through dispatch and combine. Fig. 6 · draw.io Trace the four dashed text inputs and three solid residuals. Fig. 2 · draw.io
Borg · EuroSys 2015 Ray · OSDI 2018
Borgmaster replicas, workers and tasks Ray object stores, local schedulers and global control store
Inspect the replica stacks and the tasks placed on each machine. Fig. 1 · draw.io Trace a task from a local scheduler and follow data between object stores. Fig. 5 · draw.io

All four reconstructions are also available in one presentation. Slides 5 and 6 place the paper reference beside an editable detail so you can compare the lines at the same scale. Six-slide deck · Drawing prompts and measurements

Install

From a terminal with Node.js 22 or later, add FigWeft’s GitHub marketplace and install the published plugin.

codex plugin marketplace add Jinghao-coding/figweft --ref main
codex plugin add figweft@figweft

For the version in your local checkout, run codex plugin marketplace add . from the repository root, then codex plugin add figweft@figweft. Start a new Codex chat and select FigWeft. For Claude Code, OpenCode, DeepSeek Harness or Antigravity CLI, follow the client setup guide.

Work from your own paper

Attach your method section and figure caption, then name the output you need. For example, “Draw the scheduler, worker pool and task queues in draw.io. Label the messages on each arrow.” For an existing figure, attach the source and describe the region to change. Design a figure · Reconstruct a reference · Review a drawing · Correct a region

Keep a review record in Word

“Mark the SmallEP row as Reviewed and keep the other rows as they are.” The Word skill finds the cell and saves a new DOCX that you can open in Word or WPS Writer. Sample worksheet · Word skill · CLI example

SmallEP changes from Pending to Reviewed. SteerVTE and Ray retain their original text and table formatting.

Project

FigWeft is maintained by Jinghao-coding.

Acknowledgments

  • 一个地质博士 (icebird1998) created the drawing engine that FigWeft builds on for draw.io and presentation editing. Scientific Illustrator
  • Sivia inspired FigWeft’s workflow for choosing a reference figure, previewing a draft, and revising one region at a time. Sivia
  • Upstream contributors reported drawing and installation problems and contributed fixes. Contributor credits, issues, and pull requests

About

Codex plugin for editable scientific figures in draw.io, WPS and PowerPoint, and research plots in Jupyter.

Topics

Resources

Stars

7 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages