Skip to main content
Version: 4.3

ElementsMeasuredParams

Payload passed to the useOnElementsMeasured callback after a measurement pass.

Properties​

graph​

readonly graph: Graph;

The graph model associated with the paper.


isInitial​

readonly isInitial: boolean;

True on the first measurement pass (at least one element has been sized).


paper​

readonly paper: Paper;

The paper this hook is bound to (the surrounding <Paper> context, or the paper passed via paperTarget).

Stay in the know

Be where thousands of diagramming enthusiasts meet

Star us on GitHub