Skip to content

@graphty/graphty-element / session / ScopeCount

Interface: ScopeCount ​

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

How many elements a scope covers.

Properties ​

edges ​

readonly edges: number

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

Edges in the scope, estimated when exact is false.


exact ​

readonly exact: boolean

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

Whether the edge count was counted rather than estimated.


missingEdges? ​

readonly optional missingEdges?: number

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

For a kept fixed or path set: the edge members (a path's steps) no edge of the graph matches.


missingNodes? ​

readonly optional missingNodes?: number

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

For a kept fixed or path set: the node ids it names that the graph does not hold.


nodes ​

readonly nodes: number

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

Nodes in the scope. Always exact -- counting them never needs a sample.


sampled? ​

readonly optional sampled?: number

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

How many edges were looked at, when the answer was estimated from a sample.