Skip to content

@graphty/graphty-element / index / Limits

Interface: Limits ​

Defined in: graphty-element/src/acceleration/types.ts:275

The measured numbers that govern how much the element will attempt on this machine.

They come from session.calibrate(), the element's own first-run probe, and fall back to built-in defaults when the probe cannot run.

Properties ​

approximateAboveNodes ​

approximateAboveNodes: number

Defined in: graphty-element/src/acceleration/types.ts:283

Above this node count an approximable algorithm is approximated rather than computed exactly.


edgesDrawn ​

edgesDrawn: number

Defined in: graphty-element/src/acceleration/types.ts:287

The most edges drawn at once.


graphMemoryBudgetBytes ​

graphMemoryBudgetBytes: number

Defined in: graphty-element/src/acceleration/types.ts:281

How much memory the element is willing to hold for one graph.


largeGraphThreshold ​

largeGraphThreshold: number

Defined in: graphty-element/src/acceleration/types.ts:277

Above this node count the element draws less visual detail. Nothing to do with acceleration.


renderCeiling ​

renderCeiling: number

Defined in: graphty-element/src/acceleration/types.ts:279

The most nodes this machine will render at an interactive frame rate.


selectionCap ​

selectionCap: number

Defined in: graphty-element/src/acceleration/types.ts:285

The most elements a single selection will hold.