Skip to content

@graphty/graphty-element / session / VisibilitySummary

Interface: VisibilitySummary ​

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

How much of the graph is showing, which is what a status bar reads.

Four numbers rather than a list, because "showing 1,204 of 50,000" has to be renderable without materialising anything: every one of these is maintained by the masks and costs nothing to read.

Properties ​

totalEdges ​

readonly totalEdges: number

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

How many edges the graph holds.


totalNodes ​

readonly totalNodes: number

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

How many nodes the graph holds.


visibleEdges ​

readonly visibleEdges: number

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

How many edges are visible.


visibleNodes ​

readonly visibleNodes: number

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

How many nodes are visible.