(outIdFinal, outIdProp)
| 875 | cbOut.push([]); |
| 876 | |
| 877 | function addOutputToMulti(outIdFinal, outIdProp) { |
| 878 | if (!config.validate_callbacks) return; |
| 879 | multiGraph.addNode(outIdProp); |
| 880 | inputs.forEach(inObj => { |
| 881 | const {id: inId, property} = inObj; |
| 882 | if (typeof inId === 'object') { |
| 883 | const inIdList = makeAllIds(inId, outIdFinal); |
| 884 | inIdList.forEach(id => { |
| 885 | addInputToMulti( |
| 886 | combineIdAndProp({id, property}), |
| 887 | outIdProp |
| 888 | ); |
| 889 | }); |
| 890 | } else { |
| 891 | addInputToMulti(combineIdAndProp(inObj), outIdProp); |
| 892 | } |
| 893 | }); |
| 894 | } |
| 895 | |
| 896 | // We'll continue to use dep.output as its id, but add outputs as well |
| 897 | // for convenience and symmetry with the structure of inputs and state. |
no test coverage detected
searching dependent graphs…