(e: { node: Node; edge: Edge })
| 4260 | private formatTrail(cg: CodeGraph, node: Node): string { |
| 4261 | const TRAIL_CAP = 12; |
| 4262 | const fmt = (e: { node: Node; edge: Edge }) => { |
| 4263 | const base = `${e.node.name} (${e.node.filePath}:${e.node.startLine})`; |
| 4264 | const synth = this.synthEdgeNote(e.edge); |
| 4265 | return synth ? `${base} [${synth.compact}]` : base; |
| 4266 | }; |
| 4267 | const collect = (edges: Array<{ node: Node; edge: Edge }>): Array<{ node: Node; edge: Edge }> => { |
| 4268 | const seen = new Set<string>([node.id]); |
| 4269 | const out: Array<{ node: Node; edge: Edge }> = []; |
nothing calls this directly
no test coverage detected