We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 447b2b0 commit b5c4c0eCopy full SHA for b5c4c0e
docs/src/guide/node.md
@@ -342,8 +342,8 @@ import { useVueFlow } from '@vue-flow/core'
342
343
const instance = useVueFlow()
344
345
-// use the `updateNodeData` method to update the data of an edge
346
-instance.updateNodeData(edgeId, { hello: 'mona' })
+// use the `updateNodeData` method to update the data of an node
+instance.updateNodeData(nodeId, { hello: 'mona' })
347
348
// find the node in the state by its id
349
const node = instance.findNode(nodeId)
0 commit comments