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.