(nodes: Node[])
| 112 | usedNodes.has(typeof node === 'string' ? node : node.name); |
| 113 | |
| 114 | function unique(nodes: Node[]): Node[] { |
| 115 | return [...new Map(nodes.map((node) => [node.name, node])).values()]; |
| 116 | } |
| 117 | const predefinedNodes = unique([ |
| 118 | ...inputNodes, |
| 119 | ...graph.weights, |
no outgoing calls
no test coverage detected
searching dependent graphs…