Skip to content

@graphty/graphty-element / index / FindContainsRow

Interface: FindContainsRow ​

Defined in: graphty-element/src/session/types.ts:393

A column the text was found in, and every element whose value there contains it.

Properties ​

count ​

readonly count: number

Defined in: graphty-element/src/session/types.ts:401

How many elements in scope target names.


kind ​

readonly kind: FindKind

Defined in: graphty-element/src/session/types.ts:395

Whether nodes or edges carry it.


path ​

readonly path: string

Defined in: graphty-element/src/session/types.ts:397

"id" for the node id, else the attribute's literal column key, such as "data.name".


rule ​

readonly rule: object

Defined in: graphty-element/src/session/types.ts:409

The rule that holds them, over the whole graph rather than the find's scope: { kind: "text", reads: path, mode: "substring", text }, folded as find folds. Live where target is a fixed list: as a layer's { match: "rule", where } it follows the data.

caseSensitive? ​

readonly optional caseSensitive?: boolean

Whether case counts. Default false: both sides are folded the way find folds them (case, accents and runs of spaces), and a regex ignores case.

kind ​

readonly kind: "text"

mode ​

readonly mode: TextMatchMode

How the text is compared.

nodes? ​

readonly optional nodes?: AttributeLeafNodes

Which nodes the leaf keeps when its value lives on edges: see AttributeLeafNodes.

reads ​

readonly reads: string

What it reads: "id" for the node's id, or a value path such as data.name.

text ​

readonly text: string

The text, or the regular expression for regex.


target ​

readonly target: SelectionTarget

Defined in: graphty-element/src/session/types.ts:403

A selection target naming exactly those elements: a fixed list, for selection.apply.


text ​

readonly text: string

Defined in: graphty-element/src/session/types.ts:399

The text, as typed after any prefix.