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
| Parameter | Type | Description |
|---|---|---|
| id | string |
Returns:
PointXY