(pair)
| 372 | return { id: `${id}#${tag}`, descp: `${node.name}:${tag}`, data: { size: pair[1][0], qps: pair[1][1] } } |
| 373 | }); |
| 374 | let outputs = (pair) => cfg.link.outputs[pair[0]].map((id, i)=> { |
| 375 | let node = findNodeById(config, cfg.ty, id); |
| 376 | let tag = cfg.link.outputs_tag[pair[0]][i]; |
| 377 | return { id: `${id}#${tag}`, descp: `${node.name}:${tag}`, data: { size: pair[1][0], qps: pair[1][1] } } |
| 378 | }); |
| 379 | let ports = Object.entries(node.qps).map(pair=>{ |
| 380 | return inputs(pair).concat(outputs(pair)) |
| 381 | }).flat(); |
no test coverage detected