Skip to content

v0.8.3

Choose a tag to compare

@iamalvisng iamalvisng released this 05 Oct 14:29
· 79 commits to main since this release
05d1fb5

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 box source can name an enum member as Owner.name, for example
    src/status.ts#OrderStatus.Paid. verify checks 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 around on 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 around side 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