Skip to content

Type alias: ValidConnectionFunc

Ƭ ValidConnectionFunc: (connection: Connection, elements: { edges: GraphEdge[] ; sourceNode: GraphNode ; targetNode: GraphNode }) => boolean

Type declaration

â–¸ (connection, elements): boolean

Parameters
NameType
connectionConnection
elementsObject
elements.edgesGraphEdge[]
elements.sourceNodeGraphNode
elements.targetNodeGraphNode
Returns

boolean

Released under the MIT License.