github xyflow/xyflow 8.1.0
Release 8.1.0

latest releases: 11.11.3, reactflow@11.11.3, @reactflow/node-toolbar@1.3.13...
3 years ago

Features

We are very excited about this release :) It comes with a lot of improvements and some new features. The biggest one are updatable edges. When you pass the onEdgeUpdate prop you can drag an end of an edge to another source or target. Thanks @zcmgyu for the contributions to this feature! We also added a connectionMode prop ('strict' or 'loose'). When it's strict (the default) you can't connect a target and a target or a source and source. When it's loose these kind of connections are allowed.

  • style(edge-updater): add hover effect (6ef3f52)
  • refactor(drag-edge): only handle when update function is passed (d17562e)
  • refactor(drag-edge): cleanup drag edge handlers (2f40a83)
  • fix(edge-drag): update to new version (9dfe7ea)
  • Fix: Couldn't drag edge after creating of FlowRenderer (8ea54a6)
  • Feature: Draggable edge (bd63a01)
  • feat(props): add connection mode closes #702 (c429ae7)

Refactorings

  • refactor(onConnectStart): also pass handleId closes #718 (425fd2e)
  • refactor(nodes): use one resize observer for all nodes #723 (e88dfdb)
  • refactor(element-updates): check if node type changed (3241507)
  • refactor(store): simplify setElement (93c5470)
  • refactor(edges): pass source and target handle ids for click and selection #739 (2ad121f)

Fixes

  • fix(smoothstep): repair left/right right/left connections (1650e6a)

Don't miss a new xyflow release

NewReleases is sending notifications on new releases.