Skip to content

@graphty/graphty-element / session / FilterStep

Interface: FilterStep ​

Defined in: graphty-element/src/catalog/types.ts:1899

One step of a stepped visibility filter: a rule that can be switched off without being lost. The steps that are on combine with AND, in order, so each one narrows what the step before it left.

Properties ​

id ​

readonly id: string

Defined in: graphty-element/src/catalog/types.ts:1901

The step's id, unique among the steps.


on ​

readonly on: boolean

Defined in: graphty-element/src/catalog/types.ts:1903

Whether the step applies. A step that is off keeps its rule and hides nothing.


rule ​

readonly rule: RuleTree

Defined in: graphty-element/src/catalog/types.ts:1905

What the step keeps.