bcakmakoglu / vue-flow

A highly customizable Flowchart component for Vue 3. Features seamless zoom & pan 🔎, additional components like a Minimap 🗺 and utilities to interact with state and graph.
https://vueflow.dev/
MIT License
3.74k stars 242 forks source link

🐛 [BUG]: applyChanges is not working, but applyDefault does #1573

Closed fushugaku closed 1 month ago

fushugaku commented 1 month ago

Is there an existing issue for this?

Current Behavior

in the documentation https://vueflow.dev/guide/controlled-flow.html there is an example of controlled flow that is incorrect

there is no prop apply-changes as I can see in the source code, but there is apply-default, that works

Expected Behavior

Expected to have correct prop in the documentation and replace apply-change to apply-default

Steps To Reproduce

No response

Relevant log output

No response

Anything else?

No response

bcakmakoglu commented 1 month ago

Thanks for the hint, I'll correct the docs on this 👍

bcakmakoglu commented 1 month ago

Fixed now.