Skip to main content

Home > @jsplumbtoolkit/core > AbstractLayout > getPosition

AbstractLayout.getPosition() method#

Get the current position for the vertex with the given ID.

Signature:

getPosition(id: string): PointXY;

Parameters#

ParameterTypeDescription
idstring

Returns:

PointXY