Type alias: ValidConnectionFunc
Ƭ ValidConnectionFunc: (connection
: Connection
, elements
: { edges
: GraphEdge
[] ; sourceNode
: GraphNode
; targetNode
: GraphNode
}) => boolean
Type declaration
â–¸ (connection
, elements
): boolean
Parameters
Name | Type |
---|---|
connection | Connection |
elements | Object |
elements.edges | GraphEdge [] |
elements.sourceNode | GraphNode |
elements.targetNode | GraphNode |
Returns
boolean