Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Function.Get Projected Bounds

sprotty / getProjectedBounds

Function: getProjectedBounds()

getProjectedBounds(model): undefined | Bounds

Defined in: packages/sprotty/src/features/projection/model.ts:86

Compute the projected bounds of the given model element, that is the absolute position in the diagram.

Parameters

model

Readonly<SChildElementImpl & ProjectableSchema>

Returns

undefined | Bounds