Skip to content

@vue-flow/monorepo • Docs


Type Alias: UpdateNodeData() ​

UpdateNodeData: <Data, CustomEvents>(id, dataUpdate, options?) => void

Type Parameters ​

• Data = ElementData

• CustomEvents extends Record<string, CustomEvent> = any

Parameters ​

• id: string

• dataUpdate: Partial<Data> | (node) => Partial<Data>

• options?

• options.replace?: boolean

Returns ​

void

Released under the MIT License.