Skip to content

Commit 04524d2

Browse files
committed
chore(docs): add info on v-model
1 parent 182a6d9 commit 04524d2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/src/guide/node.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,11 @@ function onAddNodes() {
241241

242242
:::
243243

244+
::: info
245+
If you want to have two-way binding of nodes, use `v-model:nodes="nodes"`.
246+
This will allow you to mutate *your* nodes and have the changes reflected in the graph.
247+
:::
248+
244249
## Removing Nodes from the Graph
245250

246251
Similar to adding nodes, nodes can be removed from the graph by removing them from the `mode-value` (using `v-model`) or from the `nodes` prop of the Vue Flow component.

0 commit comments

Comments
 (0)