Home > @jsplumbtoolkit/browser-ui > Surface > storePositionInModel
#
Surface.storePositionInModel() methodWrites the current position for the given vertex into the data model.
Signature:
storePositionInModel(params: string | { obj?: Node | Group; id: string; force?: boolean; leftAttribute?: string; topAttribute?: string; pos?: PointXY; }): PointXY;
#
ParametersParameter | Type | Description |
---|---|---|
params | string | { obj?: Node | Group; id: string; force?: boolean; leftAttribute?: string; topAttribute?: string; pos?: PointXY; } | Parameters |
Returns:
PointXY