Skip to content

@graphty/graphty-element / session / ScopeCountOptions

Interface: ScopeCountOptions ​

Defined in: graphty-element/src/session/scope/ScopeApi.ts:237

What ScopeApi.count accepts.

Properties ​

approximate? ​

readonly optional approximate?: boolean

Defined in: graphty-element/src/session/scope/ScopeApi.ts:239

Allow an estimate instead of a walk over every edge.


sample? ​

readonly optional sample?: number

Defined in: graphty-element/src/session/scope/ScopeApi.ts:241

How many edges to look at when estimating. Defaults to DEFAULT_SCOPE_SAMPLE.