Skip to content

GraphRenderer.setPan method

GraphRenderer › setPan

Unofficial

Set the pan offset to the given coordinates.

Signature:

setPan(panX: number, panY: number): void

Parameters:

ParameterTypeDescription
panXnumberThe pan offset along the x axis.
panYnumberThe pan offset along the y axis.

Returns: void