Skip to content

@graphty/graphty-element / index / FindHitBase

Interface: FindHitBase ​

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

What every FindHit carries.

Properties ​

excludedBy? ​

readonly optional excludedBy?: object

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

Present when the element is in the graph but session.visibility hides it (the time window is part of that filter). Never present under scope: "visible", which leaves hidden elements out.

kind ​

readonly kind: "filter"


match ​

readonly match: object

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

Where the text was found. path is "id" for a node's id, else the attribute's literal column key (AttributeDescriptor.path, such as "data.name"). When several values match, this is the best-ranked one, ties going to the first in data.attributes() order.

path ​

readonly path: string

value ​

readonly value: string | number | boolean


target ​

readonly target: SelectionTarget

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

A selection target naming exactly this element, for selection.apply. Not the edge's end: that is ends.target on an edge hit.