Skip to content

Variable: EDIT_FLAGS ​

ts
const EDIT_FLAGS: readonly [
  'calc',
  'calcIfAutorange',
  'crossTraceCalc',
  'layout',
  'ticks',
  'plot',
  'style',
  'colorbars',
  'legend',
  'modebar',
  'camera',
  'none',
];

Experimental

Edit-type flags (plan E1.7). Each attribute declares which pipeline stages a change to it invalidates, so updates re-run only what is needed.

  • calc — recompute calcdata (and everything downstream).
  • calcIfAutorange — calc only when an affected axis autoranges; otherwise plot.
  • crossTraceCalc — re-run stacking/grouping across traces.
  • layout — recompute subplot domains, margins and autorange.
  • ticks — regenerate axis ticks and labels.
  • plot — rebuild or update scene objects.
  • style — update colors, sizes and other uniforms/attributes in place.
  • colorbars, legend, modebar, camera — redraw that component only.
  • none — no visual effect (e.g. meta, uirevision).

Released under the MIT License.