Skip to content

@graphty/graphty-element / extend / Point

Type Alias: Point ​

Point = readonly [number, number] | readonly [number, number, number]

Defined in: graphty-element/src/simple/types.ts:313

A position in scene units: [x, y] or [x, y, z]. A 2D position in a 3D view gets z = 0.