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

Do not reset nodes and edges — they are controlled by the user #4180

Closed darabos closed 2 weeks ago

darabos commented 1 month ago

I could be wrong about this. See the discussion in https://github.com/xyflow/xyflow/discussions/4179.

darabos commented 1 month ago

I don't know if this breaks something else, but at least it fixes my issue.

moklick commented 4 weeks ago

Thanks @darabos. We will check it next week. I am pretty sure that we can remove the nodes and edges reset.