Skip to content

RangeVertexId

  • VertexId

new RangeVertexId(workbookKey, sheetIndex, top, left, bottom, right): RangeVertexId

number

The dependency graph key of the workbook

number

Zero-based sheet index

number

Zero-based row index

number

Zero-based column index

number

Zero-based row index

number

Zero-based column index

RangeVertexId

VertexId.constructor

bottom: number


key: string

VertexId.key


left: number


right: number


sheetIndex: number


top: number


workbookKey: number

VertexId.workbookKey

bottomRight(): CellVertexId

CellVertexId


contains(other): boolean

Check if this vertex ID fully contains another (i.e., all cells of the other vertex ID are within this one). The base implementation only matches exact key equality; RangeVertexId overrides this for geometric containment.

KnownVertexId

boolean

VertexId.contains


is1x1(): boolean

boolean


offset(rows, cols): RangeVertexId

number

number

RangeVertexId


overlaps(otherId): boolean

Check if this vertex ID overlaps with another. Used for determining if a dynamic dependency edge applies to a given cell/range change. The base implementation only matches exact key equality; subclasses like RangeVertexId override this to perform geometric intersection.

KnownVertexId

boolean

VertexId.overlaps


topLeft(): CellVertexId

CellVertexId


toRange(): Range

Range

VertexId.toRange


toString(): string

string

VertexId.toString


visitCells(callback, bounds?): void

CallbackWithStop<CellVertexId>

function to call with each cell vertex ID

the maximum 0-based x and y coordinates to visit. If not specified, then all coordinates of this range vertex ID are visited.

number

number

void


withSheetIndex(newSheetIndex): KnownVertexId

number

KnownVertexId

VertexId.withSheetIndex


static fromKey(key): KnownVertexId

string

KnownVertexId

VertexId.fromKey