Skip to content
PACKAGES

SvgBoundsAdapter

Minimal string-based SVG bounds reader for explicit width/height or viewBox.

This is not a DOM SVG parser and does not resolve external resources.

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

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