Repository navigation
flowfig 0.6.0
Cleaner timelines and swimlanes, stricter checks, and Windows support for open and gif.
npx flowfig init # get the new agent instructionsImprovements
- Timeline. The animation starts at the first item, so the first frame of a GIF and of a README shows the playhead in place. The today line and the playhead run behind the bars and do not cross the bar text. A dependency line goes around the bars it does not connect.
- Swimlanes. An edge label stays inside one lane, not on the border between two lanes. A decision at the end of a wrapped block keeps its stub label inside its lane and inside the figure.
- Windows. The tests now run on Windows in CI, including
gifwith Chrome.flowfig gifstops all browser helper processes on Windows and removes its temp folder.flowfig initprints paths with/on every system. - Agent instructions. A pasted Mermaid design keeps its arrow types: a plain arrow stays a plain message, even for a queue. In a process document, the agent draws each path to its end, with one step per path. When a text does not fit its box, the agent widens the box or moves the detail, and does not cut a fact.
Fixes
- On Windows,
flowfig verifyaccepted asourcepath outside the repo. It now reports it.
Checks
These checks are new, so a figure that passed check --strict in 0.5.0 can now report a fault:
label-overlapalso reports an edge label across a lane border.edge-crosses-boxalso reports a timeline dependency line through a bar.
Requirements
- Node 18 or later.
- React 18 or later, only for the
<Flow />player. flowfig gifuses Chrome, Edge, Chromium or Brave from your machine.
Upgrade
Render your figures again with 0.6.0 and run check --strict. Run npx flowfig init again in your repo to get the new agent instructions.
Full Changelog: v0.5.0...v0.6.0