Skip to content
PACKAGES

svgBoundsMeasurements()

Provider helper for SVG bounds facts from caller-owned synchronous SVG measurers.

import { svgBoundsMeasurements } from "@graphrefly/ts/solutions/reactive-layout";
function svgBoundsMeasurements(opts: SvgBoundsMeasurementsOptions): Node<Measurements>
ParameterTypeDescription
optsSvgBoundsMeasurementsOptionsOptions that configure the helper.

A Node<Measurements> value.

import { svgBoundsMeasurements } from "@graphrefly/ts/solutions/reactive-layout";

packages/ts/src/solutions/reactive-layout/measurements.ts