(from: Node, kind: string)
| 207 | return found!; |
| 208 | }; |
| 209 | const targets = (from: Node, kind: string): string[] => |
| 210 | [...new Set(graph |
| 211 | .getOutgoingEdgesFrom([from.id]) |
| 212 | .filter((e) => e.kind === kind) |
| 213 | .map((e) => graph.getNode(e.target)!.qualifiedName))] |
| 214 | .sort(); |
| 215 | const sources = (to: Node): string[] => |
| 216 | [...new Set(graph |
| 217 | .getIncomingEdgesTo([to.id]) |
no test coverage detected