Skip to content

@vue-flow/monorepo • Docs


Type Alias: UpdateNode() ​

UpdateNode: <Data, CustomEvents>(id, nodeUpdate, options?) => void

Type Parameters ​

• Data = ElementData

• CustomEvents extends Record<string, CustomEvent> = any

Parameters ​

• id: string

• nodeUpdate: Partial<Node<Data, CustomEvents>> | (node) => Partial<Node<Data, CustomEvents>>

• options?

• options.replace?: boolean

Returns ​

void

Released under the MIT License.