Skip to main content

DeckTraceGraphController

from v9.4status Work-in-Progress

DeckTraceGraphController computes trace-specific deck.gl viewport updates and bounds fitting for a custom deck shell.

import {DeckTraceGraphController} from '@deck.gl-community/trace-layers/layers';

Use it when

  • you are not using DeckTraceGraph
  • you still want trace-aware viewport fitting and updates
  • your shell owns the deck instance and synchronized trace views

Most React applications should use DeckTraceGraph instead.

  • DeckTraceGraphViewUpdateOptions
  • widenBoundsForMinimumBlockWidth(...)
  • buildTracevisViewLayout(...)

See Rendering traces and ImperativeDeckController.