github xyflow/xyflow 8.8.0
Release 8.8.0

Features

We added an includeHiddenNodes param to the fitView function which is false by default. More over you can now set the stroke-width of the mini map nodes with the new nodeStrokeWidth option.

  • Merge pull request #876 from ambroseus/feat/fitview-exclude-hidden (5e5570f)
  • feat(minimap): add nodeStrokeWidth option closes #862 (083991f)
  • refactor(fitViewParams): allow zero padding (9fcb597)
  • feat(fitView): use option includeHiddenNodes false by default (004b0ef)
  • feat(fitView): added fitViewParams prop to Control component (7dc2c69)
  • fix(fitView): fixed useZoomPanHelper typo (97cc7e3)
  • feat(fitView): added option to exclude hidden nodes (7324767)

Refactoring

The onSelectionChange handler now also includes the data and the position of the selected nodes and not not only the id and type.

  • refactor(onSelectionChange): pass data and position closes #863 (f0b9d82)

Don't miss a new xyflow release

NewReleases is sending notifications on new releases.