xyflow / xyflow

React Flow | Svelte Flow - Powerful open source libraries for building node-based UIs with React (https://reactflow.dev) or Svelte (https://svelteflow.dev). Ready out-of-the-box and infinitely customizable.
https://xyflow.com
MIT License
21.54k stars 1.43k forks source link

[SvelteFlow] Make handleId and isTarget reactive #4224

Closed darabos closed 2 weeks ago

darabos commented 2 weeks ago

I have no idea about isTarget but my handles can change dynamically, including their IDs. Anyway I think it's best if anything that depends on a property reacts to changes to that property.

I've confirmed that the change works for me and my dynamic handles.