Skip to content

Type alias: GraphEdge<Data, CustomEvents, Type> ​

Ƭ GraphEdge<Data, CustomEvents, Type>: Edge<Data, CustomEvents> & { data: Data ; events: Partial<EdgeEventsHandler<CustomEvents>> ; selected: boolean ; sourceNode: GraphNode ; targetNode: GraphNode ; type: Type } & EdgePositions

Internal edge type

Type parameters ​

NameType
DataElementData
CustomEventsextends Record<string, CustomEvent> = any
Typeextends string = string

Released under the MIT License.