TraceStoreLayer
TraceStoreLayer renders store-backed trace windows. It registers each source window with its
TraceChunkStore, redraws when matching chunks arrive, asks each source-owned materializer for
immutable TraceGraphData, wraps that data in TraceGraph, and delegates resolved graphs to
TraceGraphLayer.
import {TraceStoreLayer, type TraceStoreLayerSource} from '@deck.gl-community/trace-layers/layers';
Source contract
Each traceSources entry provides:
traceChunkStoretraceWindowloadChunkmaterializeTraceGraphData- optional
traceGraphFilterOptions - optional
spanBudget - optional
onProgress - optional
onError
<DeckGL
views={views}
layers={[
new TraceStoreLayer({
id: 'trace-store',
traceSources: [{traceChunkStore, traceWindow, loadChunk, materializeTraceGraphData}],
settings
})
]}
/>;
The layer owns registration replacement and finalize cleanup for its active source list. It does not
own descriptor catalogs, source-specific graph-data materialization, deck views, viewer widgets,
tooltips, or selection state. Use TraceGraphLayer when graphs are already materialized. Use
DeckTraceGraph for the full React viewer.
See TraceChunkStore and Rendering traces.