Skip to content

Interface: EncodeFigureOptions ​

Options for encodeFigure.

Properties ​

PropertyModifierTypeDescription
onWarning?readonly(warning) => voidReceives each warning, at most once per path per call. Default: console.warn.
registry?readonlyPick<Registry, "getTraceSchema">Registry used to find trace schemas, so style functions on arrayOk attributes can be evaluated. Without it every function is dropped.

Released under the MIT License.