Skip to content

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 ​
NameType
DataElementData
CustomEventsextends Record<string, CustomEvent> = any
Parameters ​
NameType
idstring
dataUpdatePartial<Data> | (edge: GraphEdge<Data, CustomEvents>) => Partial<Data>
options?Object
options.replaceboolean
Returns ​

void

Released under the MIT License.