Skip to main content

Home > @jsplumbtoolkit/core > AbstractLayout > _getRandomPosition

AbstractLayout._getRandomPosition() method#

Signature:

protected _getRandomPosition(id: string, w?: number, h?: number, doNotCalculateExtents?: boolean): PointXY;

Parameters#

ParameterTypeDescription
idstring
wnumber
hnumber
doNotCalculateExtentsboolean

Returns:

PointXY