Repository navigation
v0.8.3
flowfig 0.8.3 links each state of a state diagram to its own enum member, and fixes two edge routes that crossed a box.
Improvements
- Enum members in
source. A boxsourcecan name an enum member asOwner.name, for example
src/status.ts#OrderStatus.Paid.verifychecks that the member is defined in the enum. This works in TypeScript,
JavaScript, Java, C#, Rust and Python (class Owner(Enum)). A name in a comment or a string does not pass. - Edges around boxes. If you set
aroundon an edge and that side has no free path, the edge now takes a free side.
A right-angle edge that goes to the left now also avoids the boxes in its way. - Edge lines at the border. An edge that runs along the figure border keeps its full line width.
Requirements
- Node 18 or later.
- React 18 or later, only for the
<Flow />player.
Upgrade
- No change is needed. Edges with a blocked
aroundside can take a new route when you render the figure again. - If your GitHub workflow uses the flowfig Action, change it to
iamalvisng/flowfig@v0.8.3.
Full Changelog: v0.8.2...v0.8.3