Skip to content

Interface: LocatedComponent

Defined in: aiui-lowering-pipeline/src/types.ts:35

A component a region screenshot located via the data-source-loc / data-cell annotations. The locator keeps only the highest annotated elements fully enclosed by the rect — the things the user framed, not everything the rect grazes — or, when the rect encloses nothing annotated (a drag inside one big component), the innermost annotated element containing the rect, marked containment: "within".

Properties

cells?

optional cells?: LocatedCell[]

Defined in: aiui-lowering-pipeline/src/types.ts:47

The element's direct-cell frontier: the topmost data-cell descendants (no other cell between them and this element). Deliberately one level — enough of a handle into the dataflow graph for an agent to start from; deeper cells are the agent's own journey.


component

component: string

Defined in: aiui-lowering-pipeline/src/types.ts:36


containment?

optional containment?: "enclosed" | "within"

Defined in: aiui-lowering-pipeline/src/types.ts:49

How the rect relates to this element; absent means "enclosed".


rect

rect: Rect

Defined in: aiui-lowering-pipeline/src/types.ts:40

Viewport bbox at capture time.


source

source: string

Defined in: aiui-lowering-pipeline/src/types.ts:38

path/to/file.ts:line — what the locator plugin will emit in real apps.