* Returns the input slot at the given position. Uses full 20 height, and approximates the label length. * @param pos The graph co-ordinates to check * @returns The input slot at the given position if found, otherwise `undefined`.
(pos: Point)
| 1973 | * @returns The input slot at the given position if found, otherwise `undefined`. |
| 1974 | */ |
| 1975 | getInputOnPos(pos: Point): INodeInputSlot | undefined { |
| 1976 | return getNodeInputOnPos(this, pos[0], pos[1])?.input |
| 1977 | } |
| 1978 | |
| 1979 | /** |
| 1980 | * Returns the output slot at the given position. Uses full 20x20 box for the slot. |
no test coverage detected