Type alias: UpdateNode ​
Ƭ UpdateNode: <Data, CustomEvents>(id
: string
, nodeUpdate
: Partial
<Node
<Data
, CustomEvents
>> | (node
: GraphNode
<Data
, CustomEvents
>) => Partial
<Node
<Data
, CustomEvents
>>, options?
: { replace
: boolean
}) => void
Type declaration ​
â–¸ <Data
, CustomEvents
>(id
, nodeUpdate
, options?
): void
Type parameters ​
Name | Type |
---|---|
Data | ElementData |
CustomEvents | extends Record <string , CustomEvent > = any |
Parameters ​
Name | Type |
---|---|
id | string |
nodeUpdate | Partial <Node <Data , CustomEvents >> | (node : GraphNode <Data , CustomEvents >) => Partial <Node <Data , CustomEvents >> |
options? | Object |
options.replace | boolean |
Returns ​
void