(nodes: RawSnapshotNode[])
| 131 | }; |
| 132 | |
| 133 | export function attachRefs(nodes: RawSnapshotNode[]): SnapshotNode[] { |
| 134 | return nodes.map((node, idx) => ({ ...node, ref: `e${idx + 1}` })); |
| 135 | } |
| 136 | |
| 137 | export function normalizeRef(input: string): string | null { |
| 138 | const trimmed = input.trim(); |
no outgoing calls
searching dependent graphs…