tisoap / react-flow-smart-edge

Custom Edge for React Flow that never intersects with other nodes
https://tisoap.github.io/react-flow-smart-edge/
MIT License
242 stars 26 forks source link

Update to be compatible with React Flow 11 #39

Closed antipasvasil closed 1 year ago

antipasvasil commented 1 year ago

It was mentioned: "This package is only compatible with version 10 or newer of React Flow Edge."

The library react-flow-smart-edge looking for old dependency of react-flow : "react-flow-renderer" but it should be reactflow

So, what can be done about it?

tisoap commented 1 year ago

Hey @antipasvasil , thanks for letting me know! I'll need to update the edge to use the new imports from ReactFlow 11, and this should be a breaking change

antipasvasil commented 1 year ago

@tisoap , thank you so much for your answer. I will look forward to update it.

tisoap commented 1 year ago

@antipasvasil v3 with React Flow v11 support released under beta:

npm install @tisoap/react-flow-smart-edge@beta
antipasvasil commented 1 year ago

@tisoap thank you, i will.

tisoap commented 1 year ago

v3 of Smart Edge with React Flow v11 support released