Skip to content

Interface: TraceUpdatePlan ​

Experimental

What changed since the last update of a TraceView. Flags are cumulative downstream: calc implies plot, and plot implies style.

Properties ​

PropertyModifierTypeDescription
append?readonlyTraceAppendExperimental Streaming (E7.2): the trace only gained points at one end (and maybe lost some at the other) through extendTraces / prependTraces, and ctx.calc came from the module's calcAppend. calc (and so plot and style) is still set, so a view that ignores this field redraws everything, as before; a view that knows it can upload only the new points.
calcreadonlybooleanExperimental ctx.calc is new (data, or anything with editType: 'calc'): re-upload geometry.
plotreadonlybooleanExperimental Attributes with editType: 'plot' (or trace order) changed: re-read everything from ctx.trace.
selection?readonlybooleanExperimental ctx.selectedPoints changed (E6.3): restyle selected / unselected points.
stylereadonlybooleanExperimental Only styling changed (editType: 'style'): update colors/sizes/opacity in place.
transformreadonlybooleanExperimental ctx.transform or the viewport changed (zoom, pan, resize): set the transform (uniforms only).

Released under the MIT License.