(id: debug.NodeID)
| 27 | }) |
| 28 | |
| 29 | function inspectNode(id: debug.NodeID) { |
| 30 | const node = graph()?.[id] |
| 31 | // eslint-disable-next-line no-console |
| 32 | if (!node) return console.warn('inspectNode: node not found', id) |
| 33 | |
| 34 | if (node.type === debug.NodeType.Signal) { |
| 35 | ctx.inspector.setInspectedNode(node.graph ?? null, id) |
| 36 | } else { |
| 37 | ctx.inspector.setInspectedOwner(id) |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | return { |
| 42 | graph, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…