Skip to content

@graphty/cytoscape-extensions / index / Backend

Interface: Backend ​

Defined in: cytoscape-extensions/src/gpu.ts:98

Which implementation ran, and why the CPU when it was the CPU.

Properties ​

device ​

readonly device: string | null

Defined in: cytoscape-extensions/src/gpu.ts:103

The GPU device, when one was acquired (also when the options kept the work on the CPU).


ran ​

readonly ran: "gpu" | "cpu"

Defined in: cytoscape-extensions/src/gpu.ts:99


reason ​

readonly reason: string | null

Defined in: cytoscape-extensions/src/gpu.ts:101

Why the CPU ran; null when the GPU ran.