@graphysdk/viz-engine 0.0.1-experimental.2 → 0.0.1-experimental.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -3
- package/dist/index.d.ts +12 -4
- package/dist/index.mjs +783 -748
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -4309,10 +4309,12 @@ declare class LayerValidator {
|
|
|
4309
4309
|
}
|
|
4310
4310
|
|
|
4311
4311
|
/**
|
|
4312
|
-
*
|
|
4313
|
-
*
|
|
4314
|
-
*
|
|
4315
|
-
*
|
|
4312
|
+
* Default outer padding around the whole chart, in pixels. Used when {@link buildLayoutGrid} is called
|
|
4313
|
+
* without an explicit `padding` (the renderer threads a resolved theme token in to override it). Once
|
|
4314
|
+
* resolved it is baked into every {@link GraphLayout} rect (rects start at this inset), so don't re-add
|
|
4315
|
+
* it when painting — the constant is exported only so callers can reconcile against the container edge.
|
|
4316
|
+
* The per-region gaps below are intentionally internal; trust the returned rects rather than
|
|
4317
|
+
* reproducing the spacing.
|
|
4316
4318
|
*/
|
|
4317
4319
|
export declare const LAYOUT_PADDING = 24;
|
|
4318
4320
|
|
|
@@ -4401,6 +4403,12 @@ export declare interface LayoutCompilerInput {
|
|
|
4401
4403
|
* right panel-edge padding; otherwise it is inert.
|
|
4402
4404
|
*/
|
|
4403
4405
|
textScale?: number;
|
|
4406
|
+
/**
|
|
4407
|
+
* Outer padding around the whole chart, in pixels, applied uniformly on all four sides. Defaults to
|
|
4408
|
+
* {@link LAYOUT_PADDING} when omitted. Renderers thread a resolved theme token here so a consumer can
|
|
4409
|
+
* tighten or loosen the frame (e.g. a borderless, recolored chart that wants less surrounding space).
|
|
4410
|
+
*/
|
|
4411
|
+
padding?: number;
|
|
4404
4412
|
}
|
|
4405
4413
|
|
|
4406
4414
|
/** Positions where axes/labels/legends can be placed around the panel. */
|