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