Skip to content

NameVertexId

  • VertexId

new NameVertexId(workbookKey, sheetIndex, name): NameVertexId

number

The dependency graph key of the workbook

Zero-based sheet index (if name is sheet-scoped, else null)

null | number

string

The defined name

NameVertexId

VertexId.constructor

key: string

VertexId.key


name: string


sheetIndex: null | number


workbookKey: number

VertexId.workbookKey

contains(otherId): 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


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


toRange(): null | Range

null | Range

VertexId.toRange


toString(): string

string

VertexId.toString


withSheetIndex(newSheetIndex): KnownVertexId

number

KnownVertexId

VertexId.withSheetIndex


static fromKey(key): KnownVertexId

string

KnownVertexId

VertexId.fromKey