UNPKG

@joint/react

Version:

React bindings and hooks for JointJS to build interactive diagrams and graphs.

7 lines (6 loc) 330 B
/** * useAreElementMeasured is a custom hook that returns information if nodes are properly measured - they have defined size. * It is used to determine if the elements in the graph have been measured. * @returns - The value of the GraphAreElementsMeasuredContext. */ export declare function useAreElementMeasured(): boolean;