Skip to content

utils

Functions

findSocket()

function findSocket(socketsCache, elements): undefined | SocketData

Parameters

socketsCache: WeakMap<Element, SocketData>

elements: Element[]

list of Element returned by document.elementsFromPoint

Returns

undefined | SocketData

Defined in

tmp/graph-editor/src/lib/graph-editor/socket/utils.ts:12