* Serialize an edge for JSON output
(edge: Edge)
| 265 | * Serialize an edge for JSON output |
| 266 | */ |
| 267 | function serializeEdge(edge: Edge): Record<string, unknown> { |
| 268 | return { |
| 269 | source: edge.source, |
| 270 | target: edge.target, |
| 271 | kind: edge.kind, |
| 272 | line: edge.line, |
| 273 | column: edge.column, |
| 274 | }; |
| 275 | } |
| 276 | |
| 277 | /** |
| 278 | * Truncate a string with ellipsis |
nothing calls this directly
no outgoing calls
no test coverage detected