Skip to content

@graphty/graphty-element / index / RendererStatus

Interface: RendererStatus ​

Defined in: graphty-element/src/managers/RenderManager.ts:52

Which renderer a graph is drawn with, and why when it is not the one asked for.

Properties ​

active ​

readonly active: ActiveRenderer

Defined in: graphty-element/src/managers/RenderManager.ts:56

What is drawing.


reason ​

readonly reason: string | null

Defined in: graphty-element/src/managers/RenderManager.ts:62

Why WebGPU was asked for ("webgpu" or "auto") and WebGL is drawing instead: the browser has no navigator.gpu, or no adapter or device could be opened. Null when the renderer is the one asked for, and under "webgl".


requested ​

readonly requested: RendererRequest

Defined in: graphty-element/src/managers/RenderManager.ts:54

What was asked for.