@graphysdk/viz-engine 0.0.1-plugins.2 → 0.0.1-plugins.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 -2
- package/dist/index.d.ts +9 -7
- package/dist/index.mjs +326 -287
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -4010,14 +4010,16 @@ export declare const LAYOUT_PADDING = 24;
|
|
|
4010
4010
|
* settled after the first resolve.
|
|
4011
4011
|
*
|
|
4012
4012
|
* Here's the pipeline:
|
|
4013
|
-
* 1. **
|
|
4014
|
-
*
|
|
4015
|
-
*
|
|
4013
|
+
* 1. **Polar prep**: split cartesian from polar axes, format the polar axes whole, and derive the
|
|
4014
|
+
* symmetric `polarMargin` their rim labels reserve (both empty/zero for a cartesian chart).
|
|
4015
|
+
* 2. **Seed**: stamp each cartesian axis with a placeholder label so the grid has something to measure.
|
|
4016
|
+
* 3. **Resolve v1**: first grid pass; `panel.height` is now final.
|
|
4017
|
+
* 4. **Finalize vertical**: pick the densest candidate that fits `panel.height` for left/right
|
|
4016
4018
|
* axes; horizontal axes keep their seed.
|
|
4017
|
-
*
|
|
4018
|
-
*
|
|
4019
|
-
* axes. Vertical axes carry over from step
|
|
4020
|
-
*
|
|
4019
|
+
* 5. **Resolve v2**: vertical edge widths now reflect final labels, so `panel.width` is final.
|
|
4020
|
+
* 6. **Finalize horizontal**: pick the densest candidate that fits `panel.width` for top/bottom
|
|
4021
|
+
* axes. Vertical axes carry over from step 4.
|
|
4022
|
+
* 7. **Resolve v3**: final grid pass with all axes finalized.
|
|
4021
4023
|
*/
|
|
4022
4024
|
export declare class LayoutCompiler {
|
|
4023
4025
|
private readonly measurer;
|