@graphty/graphty-element / index / FindHitBase
Interface: FindHitBase ​
Defined in: graphty-element/src/session/types.ts:281
What every FindHit carries.
Properties ​
excludedBy? ​
readonlyoptionalexcludedBy?: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 ​
readonlykind:"filter"
match ​
readonlymatch: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 ​
readonlypath:string
value ​
readonlyvalue:string|number|boolean
target ​
readonlytarget: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.