(kind: string, src: string, tgt: string)
| 60 | .all(); |
| 61 | cg.close?.(); |
| 62 | const has = (kind: string, src: string, tgt: string) => |
| 63 | edges.some((e) => e.kind === kind && e.src === src && e.tgt === tgt); |
| 64 | const node = (qn: string, kind: string) => nodes.filter((n) => n.qualified_name === qn && n.kind === kind); |
| 65 | return { nodes, edges, has, node }; |
| 66 | }; |