(nodeList: FlowNode[])
| 293 | }); |
| 294 | |
| 295 | const buildPositionsMap = (nodeList: FlowNode[]): Map<string, { x: number; y: number }> => { |
| 296 | const m = new Map<string, { x: number; y: number }>(); |
| 297 | nodeList.forEach((n) => m.set(n.id, n.position)); |
| 298 | return m; |
| 299 | }; |
| 300 | |
| 301 | const hasAnyOverlapInFlow = (nodeList: FlowNode[], positions?: Map<string, { x: number; y: number }>): boolean => { |
| 302 | const inFlow = nodeList.filter((n) => inSameFlow.has(n.id)); |
no outgoing calls
no test coverage detected