import type { MemorySamples } from '../types' interface MemoryVizProps { samples: MemorySamples } export function MemoryViz({ samples }: MemoryVizProps) { const { traces, total } = samples // Create a grid of weight values for the heatmap const cellSize = 8 const cols = 20 const rows = Math.ceil(traces.length / cols) return (