(a: string, b: string)
| 194 | export function getConnectedNodeIds(nodeId: string, edges: FlowEdge[]): Set<string> { |
| 195 | const adj = new Map<string, Set<string>>(); |
| 196 | const add = (a: string, b: string) => { |
| 197 | if (!adj.has(a)) adj.set(a, new Set()); |
| 198 | adj.get(a)!.add(b); |
| 199 | }; |
| 200 | edges.forEach((e) => { |
| 201 | const s = e.source; |
| 202 | const t = e.target; |
no test coverage detected