Skip to main content
Version: 4.3

TransformElementLayoutParams

The element's measurement, passed to a TransformElementLayout callback. Carries the element's current x, y, and angle together with the freshly measured width and height, plus the underlying model and cell id.

Extends​

  • Required<ElementLayout>

Properties​

angle​

readonly angle: number;

height​

readonly height: number;

id​

readonly id: ID;

Id of the cell being measured.


model​

readonly model: Element;

The JointJS dia.Element instance being measured.


width​

readonly width: number;

x​

readonly x: number;

y​

readonly y: number;

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub