Skip to main content

Home > @jsplumbtoolkit/core > EmptyLayout > setPosition

EmptyLayout.setPosition() method#

Signature:

setPosition(id: string, x: number, y: number): Dictionary<{        original: PointXY;        current: PointXY;    }>;

Parameters#

ParameterTypeDescription
idstring
xnumber
ynumber

Returns:

Dictionary<{ original: PointXY; current: PointXY; }>