@graphty/graphty-element / index / ACCELERATION_MIN_NODES_KEY
Variable: ACCELERATION_MIN_NODES_KEY ​
constACCELERATION_MIN_NODES_KEY:"acceleration.minNodes"="acceleration.minNodes"
Defined in: graphty-element/src/acceleration/types.ts:375
The configuration key that decides when acceleration starts paying for itself.
At or above this node count, a run or a layout that has an accelerated implementation uses the accelerator; below it the element takes the CPU path even though an accelerator is attached, and the state reads "idle". It is the only threshold that governs acceleration, and it is a different number from largeGraphThreshold, which decides how much visual detail to draw and has nothing to say about where a computation runs.