Repository navigation
flowfig 0.7.0
Faster GIF export, smaller SVG files, and faster renders of large figures. The figures look the same.
npx flowfig gif docs/checkout.svgImprovements
- Faster GIF export.
flowfig gifcaptures 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.
flowfigrenders a figure once per call, also through the MCPrendertool.
Requirements
- Node 18 or later.
- React 18 or later, only for the
<Flow />player. flowfig gifuses 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