@graphty/graphty-element / extend / GraphBounds
Interface: GraphBounds ​
Defined in: graphty-element/src/camera/types.ts:33
An axis-aligned box around the elements a view is being asked to frame, in world units.
Properties ​
center ​
readonlycenter:Vec3
Defined in: graphty-element/src/camera/types.ts:36
max ​
readonlymax:Vec3
Defined in: graphty-element/src/camera/types.ts:35
maxDimension ​
readonlymaxDimension:number
Defined in: graphty-element/src/camera/types.ts:39
The largest of the three sides.
measured ​
readonlymeasured:number
Defined in: graphty-element/src/camera/types.ts:45
How many elements the box was measured over. Zero means it is the element's default box, which is what an empty graph and an unmeasured one both produce -- a view that wants to behave differently for "nothing to frame" checks this rather than inspecting the numbers.
min ​
readonlymin:Vec3
Defined in: graphty-element/src/camera/types.ts:34
size ​
readonlysize:Vec3
Defined in: graphty-element/src/camera/types.ts:37