Skip to content

@graphty/graphty-element / session / FilterResult

Interface: FilterResult ​

Defined in: graphty-element/src/session/visibility/VisibilityApi.ts:122

What applying a filter or a window produced.

Extended by ​

Properties ​

durationMs ​

readonly durationMs: number

Defined in: graphty-element/src/session/visibility/VisibilityApi.ts:146

How long the pass took, in milliseconds.


total ​

readonly total: object

Defined in: graphty-element/src/session/visibility/VisibilityApi.ts:131

How many elements the graph holds.

edges ​

readonly edges: number

Edges in the graph.

nodes ​

readonly nodes: number

Nodes in the graph.


unresolvedPaths ​

readonly unresolvedPaths: readonly string[]

Defined in: graphty-element/src/session/visibility/VisibilityApi.ts:144

The paths nothing in this session answered.

Matching nothing is a LEGITIMATE answer for a filter, so an unanswerable path is reported beside the counts instead of thrown: a consumer can say "0 matched -- data.rank is not an attribute on this graph" rather than showing a confident empty screen.


visible ​

readonly visible: object

Defined in: graphty-element/src/session/visibility/VisibilityApi.ts:124

How many elements are visible now.

edges ​

readonly edges: number

Visible edges.

nodes ​

readonly nodes: number

Visible nodes.