Skip to content

flowfig 0.7.0

Choose a tag to compare

@iamalvisng iamalvisng released this 04 Oct 08:12
· 162 commits to main since this release

Faster GIF export, smaller SVG files, and faster renders of large figures. The figures look the same.

npx flowfig gif docs/checkout.svg

Improvements

  • Faster GIF export. flowfig gif captures frames in up to 4 browser tabs at once and encodes them faster. On a test machine, the GIF of a 16-second figure takes about 16 seconds, down from about 35. The GIF bytes stay the same.
  • Smaller SVG files. The SVG keeps one keyframe for each run of equal values. A typical figure is 15 to 40 percent smaller, and a large figure can be 20 times smaller. The animation is frame-for-frame the same.
  • Faster renders. Large figures and wrapped swimlanes render 2 to 3 times faster. flowfig renders a figure once per call, also through the MCP render tool.

Requirements

  • Node 18 or later.
  • React 18 or later, only for the <Flow /> player.
  • flowfig gif uses Chrome, Edge, Chromium or Brave from your machine, and needs a little-endian CPU (x64 or ARM).

Upgrade

No breaking change. Render your figures again to get the smaller SVG files.

Full Changelog: v0.6.0...v0.7.0