Skip to content

@eightkk/vue-weave / core / graphCameraAt

Function: graphCameraAt() ​

graphCameraAt(point, size, scale): GraphViewport

Defined in: src/core/graphView.ts:217

Camera that centers a world point at the given scale.

Parameters ​

point ​

x ​

number

y ​

number

size ​

height ​

number

width ​

number

scale ​

number

Returns ​

GraphViewport

Released under the MIT License.