GraphReFlyTS

API Reference

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

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

Signature

class SvgBoundsAdapter

Example

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

Source

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