| skipped 845 lines |
846 | 846 | | function nodeConcat(arr1, arr2) { |
847 | 847 | | let arr = arr1.nodes.concat(arr2.nodes); |
848 | 848 | | return arr.filter((v, i)=> { |
849 | | - | console.log(arr2.edges) |
850 | | - | console.log(arr) |
| 849 | + | //console.log(arr2.edges) |
| 850 | + | //console.log(arr) |
851 | 851 | | return (arr2.edges.findIndex(obj => obj.data.source === v.data.id) >= 0 || |
852 | 852 | | arr2.edges.findIndex(obj => obj.data.target === v.data.id) >= 0); |
853 | 853 | | }); |
| skipped 879 lines |