(canvas: LGraphCanvas, ioNode: SubgraphInputNode | SubgraphOutputNode)
| 2147 | if (processSubgraphIONode(this, outputNode)) return |
| 2148 | |
| 2149 | function processSubgraphIONode(canvas: LGraphCanvas, ioNode: SubgraphInputNode | SubgraphOutputNode) { |
| 2150 | if (!ioNode.containsPoint([x, y])) return false |
| 2151 | |
| 2152 | ioNode.onPointerDown(e, pointer, linkConnector) |
| 2153 | pointer.onClick ??= () => canvas.processSelect(ioNode, e) |
| 2154 | pointer.onDragStart ??= () => canvas.#startDraggingItems(ioNode, pointer, true) |
| 2155 | pointer.onDragEnd ??= eUp => canvas.#processDraggedItems(eUp) |
| 2156 | return true |
| 2157 | } |
| 2158 | } |
| 2159 | |
| 2160 | // Reroutes |
nothing calls this directly
no test coverage detected