(nodeById, nodeId)
| 8958 | } |
| 8959 | |
| 8960 | function find(nodeById, nodeId) { |
| 8961 | var node = nodeById.get(nodeId); |
| 8962 | if (!node) throw new Error("node not found: " + nodeId); |
| 8963 | return node; |
| 8964 | } |
| 8965 | |
| 8966 | function link$2(links) { |
| 8967 | var id = index$3, |