Skip to content

@vue-flow/monorepo • Docs


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

GraphEdge<Data, CustomEvents, Type>: Edge<Data, CustomEvents> & object & EdgePositions

Internal edge type

Type declaration ​

data ​

data: Data

events ​

events: Partial<EdgeEventsHandler<CustomEvents>>

Deprecated ​

will be removed in the next major version

selected ​

selected: boolean

sourceNode ​

sourceNode: GraphNode

targetNode ​

targetNode: GraphNode

type ​

type: Type

Type Parameters ​

• Data = ElementData

• CustomEvents extends Record<string, CustomEvent> = any

• Type extends string = string

Released under the MIT License.