semiotic 3.8.9 → 3.9.1
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/README.md +55 -81
- package/agent-skill/semiotic-charts/SKILL.md +11 -2
- package/ai/behaviorContracts.cjs +33 -3
- package/ai/cli.js +53 -2
- package/ai/componentMetadata.cjs +15 -0
- package/ai/dist/mcp-server.js +1530 -611
- package/ai/examples.md +48 -42
- package/{CLAUDE.md → ai/reference.md} +43 -22
- package/ai/schema.json +10603 -986
- package/ai/surface-manifest.json +643 -2
- package/ai/system-prompt.md +83 -130
- package/dist/c-3BLJEQNG.min.js +1 -0
- package/dist/c-3KZD6AXJ.min.js +1 -0
- package/dist/c-4TWEX5HG.min.js +1 -0
- package/dist/c-52TEGIUJ.min.js +1 -0
- package/dist/c-5YCIX3VZ.min.js +1 -0
- package/dist/c-6FEKTA3U.min.js +1 -0
- package/dist/c-6O5EVOPH.min.js +1 -0
- package/dist/c-74HEEZGK.min.js +1 -0
- package/dist/c-AKAF6JAD.min.js +1 -0
- package/dist/c-BBKITSXB.min.js +1 -0
- package/dist/c-BWNB6USU.min.js +1 -0
- package/dist/c-C25ENHIK.min.js +1 -0
- package/dist/c-CDR5AO3R.min.js +1 -0
- package/dist/c-COHXCW3Q.min.js +1 -0
- package/dist/{chunk-scatterplotMatrixBrushOverlay-SDIZSN66.module.min.js → c-DADXPJXV.min.js} +0 -1
- package/dist/c-E3JFRRMI.min.js +1 -0
- package/dist/c-EBFPQHHO.min.js +1 -0
- package/dist/c-G36WS6LN.min.js +1 -0
- package/dist/c-GIKRQI4X.min.js +1 -0
- package/dist/c-GPYOFETM.min.js +1 -0
- package/dist/c-IDUHYYSI.min.js +1 -0
- package/dist/{chunk-chunk-FQPKOAIH.module.min.js → c-IUHFPMHD.min.js} +0 -1
- package/dist/c-J5G56TUH.min.js +1 -0
- package/dist/c-JAZ73J32.min.js +1 -0
- package/dist/c-KG3NXHAL.min.js +1 -0
- package/dist/c-KII3PLZE.min.js +1 -0
- package/dist/c-LIXGXMNS.min.js +1 -0
- package/dist/c-LVEY6D6B.min.js +1 -0
- package/dist/c-M4Y3BHFR.min.js +1 -0
- package/dist/c-MAIICR2Z.min.js +1 -0
- package/dist/c-MG5DM6VE.min.js +1 -0
- package/dist/{chunk-minimapBrushOverlay-JU57U7NM.module.min.js → c-MNF2S4AA.min.js} +0 -1
- package/dist/c-MT3WBK7M.min.js +1 -0
- package/dist/c-NY3JWV2K.min.js +1 -0
- package/dist/c-O6U6K4CW.min.js +1 -0
- package/dist/c-OCI56QF2.min.js +1 -0
- package/dist/c-OQ7M4AGV.min.js +1 -0
- package/dist/c-OXYMVK7Q.min.js +1 -0
- package/dist/c-PPWDL5ZI.min.js +1 -0
- package/dist/c-QHF5YON3.min.js +1 -0
- package/dist/c-RR3GO5SW.min.js +1 -0
- package/dist/{chunk-chunk-J5QD4RAM.module.min.js → c-RSVIHIQ4.min.js} +0 -1
- package/dist/{chunk-chunk-EMO5NUGE.module.min.js → c-S2BXNNJN.min.js} +0 -1
- package/dist/{chunk-chunk-YCQYG6J5.module.min.js → c-SLGMUBUL.min.js} +0 -1
- package/dist/c-SUILCHWU.min.js +1 -0
- package/dist/c-TZW3JGJ5.min.js +1 -0
- package/dist/c-US5ZFT6E.min.js +1 -0
- package/dist/{chunk-chunk-RZH7VZYS.module.min.js → c-USFMFKIH.min.js} +0 -1
- package/dist/c-UUKVD4WB.min.js +1 -0
- package/dist/{chunk-chunk-SV4XAZ3Q.module.min.js → c-VGW3VG3I.min.js} +0 -1
- package/dist/c-W3CE4A4S.min.js +1 -0
- package/dist/{chunk-chunk-2NVFEB7P.module.min.js → c-WJCD5EUY.min.js} +0 -1
- package/dist/{chunk-chunk-2JGJ5GUG.module.min.js → c-X5UBGU2V.min.js} +0 -1
- package/dist/c-YDAY2WFR.min.js +1 -0
- package/dist/c-ZOWWU34K.min.js +1 -0
- package/dist/components/AccessibleNavTree.d.ts +1 -1
- package/dist/components/CategoryColors.d.ts +1 -1
- package/dist/components/GradientLegend.d.ts +14 -0
- package/dist/components/Legend.d.ts +2 -7
- package/dist/components/LinkedCharts.d.ts +1 -1
- package/dist/components/MobileAnnotationCalloutList.d.ts +1 -1
- package/dist/components/ObservationReadout.d.ts +45 -0
- package/dist/components/ThemeProvider.d.ts +4 -4
- package/dist/components/Tooltip/FlippingTooltip.d.ts +5 -7
- package/dist/components/Tooltip/Tooltip.d.ts +30 -5
- package/dist/components/Tooltip/tooltipChrome.d.ts +43 -0
- package/dist/components/ai/chartCapabilityTypes.d.ts +86 -2
- package/dist/components/ai/chartClinic.d.ts +2 -0
- package/dist/components/ai/deriveProfileFields.d.ts +40 -0
- package/dist/components/ai/evaluateChart.d.ts +85 -0
- package/dist/components/ai/fieldPolicy.d.ts +7 -0
- package/dist/components/ai/fieldRoles.d.ts +24 -0
- package/dist/components/ai/generativeChart.d.ts +18 -2
- package/dist/components/ai/inferIntent.d.ts +26 -2
- package/dist/components/ai/intents.d.ts +35 -0
- package/dist/components/ai/navigationTree.d.ts +2 -2
- package/dist/components/ai/observedSceneAudit.d.ts +2 -1
- package/dist/components/ai/profileData.d.ts +11 -0
- package/dist/components/ai/repairChartConfig.d.ts +2 -3
- package/dist/components/ai/semanticEvidence.d.ts +4 -0
- package/dist/components/ai/semanticViability.d.ts +11 -0
- package/dist/components/ai/semanticViabilityRegistry.d.ts +5 -0
- package/dist/components/ai/streamingTypes.d.ts +4 -0
- package/dist/components/ai/suggestCharts.d.ts +5 -6
- package/dist/components/ai/suggestDashboard.d.ts +2 -3
- package/dist/components/ai/suggestStreamCharts.d.ts +1 -1
- package/dist/components/ai/suggestStretchCharts.d.ts +2 -3
- package/dist/components/ai/suggestionPropContracts.d.ts +20 -0
- package/dist/components/ai/variantDiscovery.d.ts +3 -1
- package/dist/components/charts/custom/NetworkCustomChart.d.ts +3 -0
- package/dist/components/charts/custom/OrdinalCustomChart.d.ts +3 -0
- package/dist/components/charts/custom/XYCustomChart.d.ts +1 -1
- package/dist/components/charts/geo/ChoroplethMap.d.ts +3 -1
- package/dist/components/charts/geo/DistanceCartogram.d.ts +2 -7
- package/dist/components/charts/geo/cartogramOverlay.d.ts +28 -0
- package/dist/components/charts/index.d.ts +4 -3
- package/dist/components/charts/network/ProcessSankey.d.ts +2 -136
- package/dist/components/charts/network/ProcessSankeyProps.d.ts +139 -0
- package/dist/components/charts/network/Treemap.d.ts +2 -1
- package/dist/components/charts/network/processSankey/boundaryHubOrdering.d.ts +23 -0
- package/dist/components/charts/network/processSankey/layoutGeometry.d.ts +2 -0
- package/dist/components/charts/network/processSankey/ordering.d.ts +3 -41
- package/dist/components/charts/network/processSankey/orderingTypes.d.ts +32 -0
- package/dist/components/charts/network/processSankey/packing.d.ts +1 -1
- package/dist/components/charts/network/processSankey/packingCache.d.ts +1 -1
- package/dist/components/charts/network/processSankey/packingOptimization.d.ts +72 -0
- package/dist/components/charts/ordinal/BarChart.d.ts +4 -3
- package/dist/components/charts/ordinal/FunnelChart.d.ts +2 -0
- package/dist/components/charts/ordinal/GroupedBarChart.d.ts +3 -2
- package/dist/components/charts/ordinal/StackedBarChart.d.ts +4 -3
- package/dist/components/charts/ordinal/SwimlaneChart.d.ts +2 -2
- package/dist/components/charts/physics/GaltonBoardChart.d.ts +2 -9
- package/dist/components/charts/physics/GauntletChart.d.ts +10 -41
- package/dist/components/charts/physics/ProcessFlowChart.d.ts +1 -1
- package/dist/components/charts/physics/chainReactionAccessibleTable.d.ts +9 -0
- package/dist/components/charts/physics/chainReactionRuntime.d.ts +2 -1
- package/dist/components/charts/physics/chainReactionTypes.d.ts +5 -1
- package/dist/components/charts/physics/crucibleBodyRenderers.d.ts +2 -2
- package/dist/components/charts/physics/crucibleClone.d.ts +6 -0
- package/dist/components/charts/physics/crucibleEffects.d.ts +1 -2
- package/dist/components/charts/physics/crucibleRecord.d.ts +7 -0
- package/dist/components/charts/physics/gauntletChrome.d.ts +4 -4
- package/dist/components/charts/physics/gauntletPhysics.d.ts +1 -0
- package/dist/components/charts/physics/gauntletPublic.d.ts +4 -0
- package/dist/components/charts/physics/packetFlowOverlay.d.ts +7 -0
- package/dist/components/charts/physics/physicsChartLayout.d.ts +8 -0
- package/dist/components/charts/physics/physicsChartShared.d.ts +3 -1
- package/dist/components/charts/physics/physicsChartUtils.d.ts +1 -1
- package/dist/components/charts/physics/physicsHocUtils.d.ts +25 -12
- package/dist/components/charts/physics/physicsProjectionOverlays.d.ts +24 -0
- package/dist/components/charts/physics/processFlowOverlays.d.ts +9 -0
- package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +15 -12
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +10 -7
- package/dist/components/charts/realtime/RealtimeLineChart.d.ts +35 -14
- package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +21 -14
- package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +20 -13
- package/dist/components/charts/realtime/aggregate.d.ts +4 -1
- package/dist/components/charts/realtime/eventTime.d.ts +4 -0
- package/dist/components/charts/realtime/realtimeChartRuntime.d.ts +27 -0
- package/dist/components/charts/realtime/realtimeChartTypes.d.ts +30 -0
- package/dist/components/charts/realtime/useRealtimeCategoryColors.d.ts +30 -0
- package/dist/components/charts/shared/FrameTextAnnotationSVG.d.ts +10 -0
- package/dist/components/charts/shared/annotationActivation.d.ts +3 -7
- package/dist/components/charts/shared/annotationBandFill.d.ts +6 -0
- package/dist/components/charts/shared/annotationDispatch.d.ts +31 -0
- package/dist/components/charts/shared/annotationIdentity.d.ts +8 -0
- package/dist/components/charts/shared/annotationRules.d.ts +1 -15
- package/dist/components/charts/shared/boundedCategoryRegistry.d.ts +8 -0
- package/dist/components/charts/shared/chainReactionChartSpec.d.ts +3 -0
- package/dist/components/charts/shared/chartMode.d.ts +3 -2
- package/dist/components/charts/shared/chartSpecCore.d.ts +1 -0
- package/dist/components/charts/shared/frameTextAnnotation.d.ts +63 -0
- package/dist/components/charts/shared/gradient.d.ts +16 -0
- package/dist/components/charts/shared/hatchFill.d.ts +15 -0
- package/dist/components/charts/shared/hooks.d.ts +4 -4
- package/dist/components/charts/shared/legendUtils.d.ts +1 -0
- package/dist/components/charts/shared/streamPropsHelpers.d.ts +2 -1
- package/dist/components/charts/shared/styleRules.d.ts +9 -2
- package/dist/components/charts/shared/styleRulesWireSchema.d.ts +353 -0
- package/dist/components/charts/shared/types.d.ts +18 -9
- package/dist/components/charts/shared/useChartLegend.d.ts +43 -9
- package/dist/components/charts/shared/useChartSetup.d.ts +3 -1
- package/dist/components/charts/shared/useCustomChartSetup.d.ts +5 -2
- package/dist/components/charts/shared/useNetworkChartSetup.d.ts +5 -1
- package/dist/components/charts/shared/useOrdinalBrush.d.ts +3 -3
- package/dist/components/charts/shared/useStreamingLegend.d.ts +6 -1
- package/dist/components/charts/value/types.d.ts +1 -1
- package/dist/components/charts/xy/BubbleChart.d.ts +1 -1
- package/dist/components/charts/xy/BumpChart.capability.d.ts +14 -1
- package/dist/components/charts/xy/BumpChart.d.ts +13 -73
- package/dist/components/charts/xy/BumpChart.semanticViability.d.ts +5 -0
- package/dist/components/charts/xy/CandlestickChart.d.ts +2 -2
- package/dist/components/charts/xy/LineChart.d.ts +2 -2
- package/dist/components/charts/xy/Scatterplot.d.ts +1 -1
- package/dist/components/charts/xy/bumpData.d.ts +44 -0
- package/dist/components/charts/xy/bumpIdentity.d.ts +2 -0
- package/dist/components/charts/xy/bumpLayout.d.ts +45 -0
- package/dist/components/charts/xy/bumpTooltip.d.ts +20 -0
- package/dist/components/legendLayout.d.ts +131 -4
- package/dist/components/realtime/ReorderBuffer.d.ts +2 -0
- package/dist/components/realtime/types.d.ts +10 -1
- package/dist/components/recipes/balanceSnapshotsToFlows.d.ts +42 -0
- package/dist/components/recipes/directedReachability.d.ts +14 -0
- package/dist/components/recipes/gofishDisplayListFixtures.generated.d.ts +6 -6
- package/dist/components/recipes/gridObservatory.d.ts +1 -1
- package/dist/components/recipes/networkAnalysis.d.ts +1 -18
- package/dist/components/recipes/physics.d.ts +7 -4
- package/dist/components/recipes/processPhysics.d.ts +0 -1
- package/dist/components/recipes/waffle.d.ts +7 -4
- package/dist/components/semiotic-ai-core.d.ts +13 -4
- package/dist/components/semiotic-ai-observations.d.ts +3 -0
- package/dist/components/semiotic-ai.d.ts +16 -9
- package/dist/components/semiotic-client-shared.d.ts +10 -0
- package/dist/components/semiotic-experimental.d.ts +1 -1
- package/dist/components/semiotic-geo.d.ts +4 -1
- package/dist/components/semiotic-network.d.ts +7 -4
- package/dist/components/semiotic-ordinal.d.ts +4 -1
- package/dist/components/semiotic-physics.d.ts +11 -4
- package/dist/components/semiotic-realtime-core.d.ts +11 -4
- package/dist/components/semiotic-realtime-react.d.ts +4 -3
- package/dist/components/semiotic-realtime.d.ts +3 -1
- package/dist/components/semiotic-recipes-core.d.ts +7 -5
- package/dist/components/semiotic-server-edge.d.ts +3 -2
- package/dist/components/semiotic-server.d.ts +3 -2
- package/dist/components/semiotic-themes-core.d.ts +5 -48
- package/dist/components/semiotic-utils-core.d.ts +10 -5
- package/dist/components/semiotic-utils-react.d.ts +2 -0
- package/dist/components/semiotic-utils.d.ts +1 -1
- package/dist/components/semiotic-xy.d.ts +4 -1
- package/dist/components/semiotic.d.ts +68 -26
- package/dist/components/server/animatedGif.d.ts +1 -1
- package/dist/components/server/renderEvidence.d.ts +25 -2
- package/dist/components/server/renderToStaticSVG.d.ts +15 -7
- package/dist/components/server/serverChartConfigShared.d.ts +8 -1
- package/dist/components/server/serverChartConfigs.d.ts +1 -0
- package/dist/components/server/serverChartConfigsNetwork.d.ts +3 -3
- package/dist/components/server/serverChartConfigsNetworkChord.d.ts +2 -0
- package/dist/components/server/serverChartConfigsNetworkForce.d.ts +2 -0
- package/dist/components/server/serverChartConfigsNetworkHierarchy.d.ts +3 -0
- package/dist/components/server/serverChartConfigsXY.d.ts +3 -3
- package/dist/components/server/serverChartConfigsXYBubble.d.ts +5 -0
- package/dist/components/server/serverChartConfigsXYBump.d.ts +7 -0
- package/dist/components/server/serverChartConfigsXYScatter.d.ts +5 -0
- package/dist/components/server/staticAnnotationFallbacks.d.ts +10 -0
- package/dist/components/server/staticAnnotations.d.ts +28 -1
- package/dist/components/server/staticAxisTickLabel.d.ts +13 -0
- package/dist/components/server/staticLegend.d.ts +1 -1
- package/dist/components/server/staticLegendMargin.d.ts +41 -0
- package/dist/components/server/staticOrdinal.d.ts +8 -2
- package/dist/components/server/staticPhysics.d.ts +13 -1
- package/dist/components/server/staticPhysicsChrome.d.ts +20 -0
- package/dist/components/server/staticRawLegend.d.ts +15 -0
- package/dist/components/server/staticSVGChrome.d.ts +16 -55
- package/dist/components/server/staticXYAxes.d.ts +27 -0
- package/dist/components/server/staticXYAxisTicks.d.ts +39 -0
- package/dist/components/server/staticXYGrid.d.ts +11 -0
- package/dist/components/server/themeResolver.d.ts +5 -1
- package/dist/components/store/ThemeStore.d.ts +2 -98
- package/dist/components/store/designTokens.d.ts +1 -1
- package/dist/components/store/themeCSSVariables.d.ts +10 -0
- package/dist/components/store/themeCore.d.ts +91 -0
- package/dist/components/store/themePresets.d.ts +81 -0
- package/dist/components/store/themeSerialization.d.ts +2 -1
- package/dist/components/stream/AccessibleDataTable.d.ts +12 -14
- package/dist/components/stream/AccessibleTablePortalImpl.d.ts +6 -0
- package/dist/components/stream/GeoTileRenderer.d.ts +2 -0
- package/dist/components/stream/NetworkCanvasHitTester.d.ts +3 -1
- package/dist/components/stream/NetworkSSRFrame.d.ts +2 -1
- package/dist/components/stream/NetworkSVGOverlay.d.ts +3 -31
- package/dist/components/stream/OrdinalCanvasHitTester.d.ts +2 -0
- package/dist/components/stream/SVGChartTitle.d.ts +9 -0
- package/dist/components/stream/SVGOverlay.d.ts +1 -21
- package/dist/components/stream/SVGUnderlay.d.ts +24 -0
- package/dist/components/stream/SceneToSVG.d.ts +1 -1
- package/dist/components/stream/StreamGeoFrame.d.ts +1 -1
- package/dist/components/stream/StreamOrdinalFrame.d.ts +1 -1
- package/dist/components/stream/StreamXYFrame.d.ts +1 -1
- package/dist/components/stream/accessibleDataRows.d.ts +11 -0
- package/dist/components/stream/accessibleDataTableModel.d.ts +40 -0
- package/dist/components/stream/accessibleTableTypes.d.ts +11 -0
- package/dist/components/stream/axisTickUtils.d.ts +19 -0
- package/dist/components/stream/canvasBackground.d.ts +10 -0
- package/dist/components/stream/canvasSetup.d.ts +9 -0
- package/dist/components/stream/frameCursorInteraction.d.ts +25 -0
- package/dist/components/stream/frameDefaultMargins.d.ts +37 -0
- package/dist/components/stream/frameGraphics.d.ts +18 -0
- package/dist/components/stream/frameGraphicsSubscription.d.ts +26 -0
- package/dist/components/stream/frameLegendOptions.d.ts +18 -0
- package/dist/components/stream/geoFrameCursorInteraction.d.ts +9 -0
- package/dist/components/stream/geoFrameHelpers.d.ts +29 -1
- package/dist/components/stream/geoTypes.d.ts +10 -11
- package/dist/components/stream/hitTarget.d.ts +61 -2
- package/dist/components/stream/moduleWorkerSession.d.ts +6 -0
- package/dist/components/stream/networkAnnotationAnchors.d.ts +37 -0
- package/dist/components/stream/networkCustomLayout.d.ts +2 -2
- package/dist/components/stream/networkFrameCursorInteraction.d.ts +12 -0
- package/dist/components/stream/networkFrameInteraction.d.ts +2 -0
- package/dist/components/stream/networkFramePaint.d.ts +7 -0
- package/dist/components/stream/networkPipelineConfig.d.ts +1 -1
- package/dist/components/stream/networkTypes.d.ts +30 -32
- package/dist/components/stream/normalizeXYData.d.ts +7 -0
- package/dist/components/stream/ordinalFrameCursorInteraction.d.ts +7 -0
- package/dist/components/stream/ordinalFrameInteraction.d.ts +29 -0
- package/dist/components/stream/ordinalSceneSVG.d.ts +10 -0
- package/dist/components/stream/ordinalTypes.d.ts +10 -4
- package/dist/components/stream/physics/PhysicsBodySpatialIndex.d.ts +9 -1
- package/dist/components/stream/physics/PhysicsCanvasTheme.d.ts +25 -0
- package/dist/components/stream/physics/PhysicsControllers.d.ts +0 -3
- package/dist/components/stream/physics/PhysicsPipelineStore.d.ts +4 -1
- package/dist/components/stream/physics/PhysicsSVGOverlay.d.ts +3 -24
- package/dist/components/stream/physics/PhysicsSettledSVG.d.ts +9 -21
- package/dist/components/stream/physics/PhysicsSettledSVGElement.d.ts +37 -0
- package/dist/components/stream/physics/PhysicsSettledScene.d.ts +7 -3
- package/dist/components/stream/physics/StreamPhysicsFrame.d.ts +1 -1
- package/dist/components/stream/physics/StreamPhysicsTypes.d.ts +23 -4
- package/dist/components/stream/physics/physicsAnnotationContext.d.ts +19 -0
- package/dist/components/stream/physics/physicsBodyCanvas.d.ts +4 -0
- package/dist/components/stream/physics/physicsSettledChrome.d.ts +7 -0
- package/dist/components/stream/physics/usePhysicsCanvasPointer.d.ts +32 -0
- package/dist/components/stream/physics/usePhysicsSemanticNavigation.d.ts +36 -0
- package/dist/components/stream/pipelineConfig.d.ts +6 -17
- package/dist/components/stream/pipelineDomainResolution.d.ts +1 -1
- package/dist/components/stream/renderBackend.d.ts +2 -0
- package/dist/components/stream/renderers/canvasRenderHelpers.d.ts +13 -2
- package/dist/components/stream/renderers/resolveCSSColor.d.ts +7 -0
- package/dist/components/stream/responsiveSize.d.ts +17 -0
- package/dist/components/stream/sceneCursor.d.ts +41 -0
- package/dist/components/stream/sceneRevisionDiagnostics.d.ts +1 -1
- package/dist/components/stream/svgOverlayUtils.d.ts +22 -1
- package/dist/components/stream/types.d.ts +25 -12
- package/dist/components/stream/useCanvasFrameHost.d.ts +3 -1
- package/dist/components/stream/useFrame.d.ts +24 -1
- package/dist/components/stream/useResponsiveSize.d.ts +6 -1
- package/dist/components/stream/useStalenessCheck.d.ts +1 -1
- package/dist/components/stream/xyFrameAxisTypes.d.ts +15 -4
- package/dist/components/stream/xyFrameCursorInteraction.d.ts +6 -0
- package/dist/components/stream/xySceneBuilders/swarmScene.d.ts +1 -1
- package/dist/components/stream/xySceneBuilders/types.d.ts +6 -26
- package/dist/components/types/legendTypes.d.ts +6 -0
- package/dist/components/types/marginType.d.ts +7 -8
- package/dist/controls.min.js +1 -1
- package/dist/controls.module.min.js +1 -1
- package/dist/forceLayoutWorker.js +1 -1
- package/dist/geo.min.js +1 -1
- package/dist/geo.module.min.js +1 -1
- package/dist/network.min.js +1 -1
- package/dist/network.module.min.js +1 -1
- package/dist/ordinal.min.js +1 -1
- package/dist/ordinal.module.min.js +1 -1
- package/dist/physics-matter.module.min.js +1 -1
- package/dist/physics-rapier.module.min.js +1 -1
- package/dist/physics.min.js +1 -1
- package/dist/physics.module.min.js +1 -1
- package/dist/physicsWorker.js +1 -1
- package/dist/processSankeyLayoutWorker.js +1 -1
- package/dist/realtime.min.js +1 -1
- package/dist/realtime.module.min.js +1 -1
- package/dist/rough.min.js +1 -1
- package/dist/rough.module.min.js +1 -1
- package/dist/semiotic-ai-core.d.ts +13 -4
- package/dist/semiotic-ai-core.min.js +1 -1
- package/dist/semiotic-ai-core.module.min.js +1 -1
- package/dist/semiotic-ai.d.ts +16 -9
- package/dist/semiotic-ai.min.js +1 -1
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-client-cjs-shared.min.js +1 -0
- package/dist/semiotic-client-glyph.module.min.js +2 -0
- package/dist/semiotic-client-responsive.module.min.js +2 -0
- package/dist/semiotic-client-shared.module.min.js +2 -0
- package/dist/semiotic-custom-layout-selection-cjs-shared.min.js +2 -0
- package/dist/semiotic-data.min.js +1 -1
- package/dist/semiotic-data.module.min.js +1 -1
- package/dist/semiotic-experimental-auxiliary.module.min.js +2 -0
- package/dist/semiotic-experimental-node-auxiliary.module.min.js +2 -0
- package/dist/semiotic-experimental-node.module.min.js +2 -0
- package/dist/semiotic-experimental-react-shared.module.min.js +2 -0
- package/dist/semiotic-experimental-vacp.min.js +1 -1
- package/dist/semiotic-experimental-vacp.module.min.js +1 -1
- package/dist/semiotic-experimental.d.ts +1 -1
- package/dist/semiotic-experimental.min.js +1 -1
- package/dist/semiotic-experimental.module.min.js +1 -1
- package/dist/semiotic-geo.d.ts +4 -1
- package/dist/semiotic-network.d.ts +7 -4
- package/dist/semiotic-ordinal.d.ts +4 -1
- package/dist/semiotic-physics.d.ts +11 -4
- package/dist/semiotic-realtime-core.d.ts +11 -4
- package/dist/semiotic-realtime-core.min.js +2 -1
- package/dist/semiotic-realtime-core.module.min.js +2 -1
- package/dist/semiotic-realtime-react.d.ts +4 -3
- package/dist/semiotic-realtime-react.min.js +1 -1
- package/dist/semiotic-realtime-react.module.min.js +1 -1
- package/dist/semiotic-realtime.d.ts +3 -1
- package/dist/semiotic-recipes-core-cjs-base.min.js +1 -0
- package/dist/semiotic-recipes-core.d.ts +7 -5
- package/dist/semiotic-recipes-core.min.js +9 -1
- package/dist/semiotic-recipes-core.module.min.js +1 -1
- package/dist/semiotic-recipes-geo-cjs.min.js +1 -0
- package/dist/semiotic-recipes-react.min.js +1 -1
- package/dist/semiotic-recipes-react.module.min.js +1 -1
- package/dist/semiotic-recipes.min.js +7 -1
- package/dist/semiotic-recipes.module.min.js +2 -1
- package/dist/semiotic-server-edge-node.module.min.js +1 -0
- package/dist/semiotic-server-edge.d.ts +3 -2
- package/dist/semiotic-server-edge.min.js +1 -1
- package/dist/semiotic-server-edge.module.min.js +1 -1
- package/dist/semiotic-server-node.min.js +1 -1
- package/dist/semiotic-server-node.module.min.js +1 -1
- package/dist/semiotic-server.d.ts +3 -2
- package/dist/semiotic-themes-core.d.ts +5 -48
- package/dist/semiotic-themes-core.min.js +1 -1
- package/dist/semiotic-themes-core.module.min.js +1 -1
- package/dist/semiotic-themes-react.min.js +1 -1
- package/dist/semiotic-themes-react.module.min.js +1 -1
- package/dist/semiotic-themes.min.js +1 -1
- package/dist/semiotic-themes.module.min.js +1 -1
- package/dist/semiotic-utils-core.d.ts +10 -5
- package/dist/semiotic-utils-core.min.js +1 -1
- package/dist/semiotic-utils-core.module.min.js +1 -1
- package/dist/semiotic-utils-react.d.ts +2 -0
- package/dist/semiotic-utils-react.min.js +1 -1
- package/dist/semiotic-utils-react.module.min.js +1 -1
- package/dist/semiotic-utils.d.ts +1 -1
- package/dist/semiotic-utils.min.js +2 -1
- package/dist/semiotic-utils.module.min.js +2 -1
- package/dist/semiotic-value.min.js +1 -1
- package/dist/semiotic-value.module.min.js +1 -1
- package/dist/semiotic-xy.d.ts +4 -1
- package/dist/semiotic.d.ts +68 -26
- package/dist/semiotic.min.js +1 -1
- package/dist/semiotic.module.min.js +1 -1
- package/dist/server.min.js +1 -1
- package/dist/server.module.min.js +1 -1
- package/dist/xy.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +53 -19
- package/dist/__tests__/scenarios/mcpProtocolTypes.d.ts +0 -20
- package/dist/chunk-OrdinalBrushOverlay-PXHQYDB2.module.min.js +0 -2
- package/dist/chunk-XYBrushOverlay-ECZJJLAJ.module.min.js +0 -1
- package/dist/chunk-XYBrushOverlay-EP2SV3UI.module.min.js +0 -2
- package/dist/chunk-chartContainerDataAudit-IQ3NBN3Q.module.min.js +0 -2
- package/dist/chunk-chunk-2B3AIKUZ.module.min.js +0 -2
- package/dist/chunk-chunk-2CXCXRB4.module.min.js +0 -1
- package/dist/chunk-chunk-2X3FJCME.module.min.js +0 -1
- package/dist/chunk-chunk-2ZHHWZQM.module.min.js +0 -2
- package/dist/chunk-chunk-4ITOQRXM.module.min.js +0 -2
- package/dist/chunk-chunk-5UKL5W76.module.min.js +0 -2
- package/dist/chunk-chunk-5VVNW5AZ.module.min.js +0 -1
- package/dist/chunk-chunk-5ZON5NMV.module.min.js +0 -2
- package/dist/chunk-chunk-66PCWJUG.module.min.js +0 -1
- package/dist/chunk-chunk-6S3YGYW7.module.min.js +0 -1
- package/dist/chunk-chunk-6V5VQVCT.module.min.js +0 -2
- package/dist/chunk-chunk-7C5EDZ3Z.module.min.js +0 -2
- package/dist/chunk-chunk-A3I4HBD5.module.min.js +0 -1
- package/dist/chunk-chunk-ACLDBMRH.module.min.js +0 -2
- package/dist/chunk-chunk-AFQHURLO.module.min.js +0 -2
- package/dist/chunk-chunk-DDB4TLQG.module.min.js +0 -2
- package/dist/chunk-chunk-DTH3SUOU.module.min.js +0 -2
- package/dist/chunk-chunk-DTSNLGRK.module.min.js +0 -2
- package/dist/chunk-chunk-DVCWU7MT.module.min.js +0 -2
- package/dist/chunk-chunk-FEPXDKJP.module.min.js +0 -1
- package/dist/chunk-chunk-FJ76HWQZ.module.min.js +0 -1
- package/dist/chunk-chunk-FSIHAW6L.module.min.js +0 -2
- package/dist/chunk-chunk-G2RGVEYY.module.min.js +0 -2
- package/dist/chunk-chunk-G75OPF5N.module.min.js +0 -2
- package/dist/chunk-chunk-HADHLMY5.module.min.js +0 -1
- package/dist/chunk-chunk-HAJVODLO.module.min.js +0 -2
- package/dist/chunk-chunk-HBFA4NN6.module.min.js +0 -1
- package/dist/chunk-chunk-HIV7AW2V.module.min.js +0 -2
- package/dist/chunk-chunk-IY7RYD4S.module.min.js +0 -1
- package/dist/chunk-chunk-J3QOW4OE.module.min.js +0 -0
- package/dist/chunk-chunk-J3XWETBJ.module.min.js +0 -2
- package/dist/chunk-chunk-JZAMMSQQ.module.min.js +0 -2
- package/dist/chunk-chunk-KTWEBFMX.module.min.js +0 -2
- package/dist/chunk-chunk-LSJUXBMF.module.min.js +0 -1
- package/dist/chunk-chunk-MXMRXSCI.module.min.js +0 -2
- package/dist/chunk-chunk-MXVBXFKW.module.min.js +0 -2
- package/dist/chunk-chunk-NWIGA3UK.module.min.js +0 -1
- package/dist/chunk-chunk-OFAP623Y.module.min.js +0 -2
- package/dist/chunk-chunk-OHLRAEQZ.module.min.js +0 -2
- package/dist/chunk-chunk-OZK46A5U.module.min.js +0 -1
- package/dist/chunk-chunk-PMR47KRY.module.min.js +0 -2
- package/dist/chunk-chunk-PRNXOCYZ.module.min.js +0 -2
- package/dist/chunk-chunk-Q2YADC2V.module.min.js +0 -2
- package/dist/chunk-chunk-RLKZVJMQ.module.min.js +0 -2
- package/dist/chunk-chunk-ROP4HI7H.module.min.js +0 -2
- package/dist/chunk-chunk-SK2TQMG4.module.min.js +0 -2
- package/dist/chunk-chunk-SKLYXNYW.module.min.js +0 -2
- package/dist/chunk-chunk-TCMHJWFJ.module.min.js +0 -1
- package/dist/chunk-chunk-TSCFL235.module.min.js +0 -1
- package/dist/chunk-chunk-U4NZCU5T.module.min.js +0 -2
- package/dist/chunk-chunk-U66USBWU.module.min.js +0 -1
- package/dist/chunk-chunk-UOQRPGPK.module.min.js +0 -2
- package/dist/chunk-chunk-VKL6DI43.module.min.js +0 -2
- package/dist/chunk-chunk-W62673ZE.module.min.js +0 -1
- package/dist/chunk-chunk-WFHZHWT7.module.min.js +0 -1
- package/dist/chunk-chunk-XCC25CZZ.module.min.js +0 -2
- package/dist/chunk-chunk-XECNOUZY.module.min.js +0 -2
- package/dist/chunk-chunk-XYZDTYAF.module.min.js +0 -2
- package/dist/chunk-chunk-YHNZCPOZ.module.min.js +0 -2
- package/dist/chunk-chunk-YWZB3KPI.module.min.js +0 -2
- package/dist/chunk-statisticalOverlays-HMYYSGPE.module.min.js +0 -2
- package/dist/components/stream/test-utils/frameScheduler.d.ts +0 -12
- package/dist/components/stream/test-utils/revisionConsumption.d.ts +0 -13
- package/dist/test-utils/canvasMock.d.ts +0 -86
- package/dist/test-utils/capturedFrameProps.d.ts +0 -67
- package/dist/test-utils/frameMock.d.ts +0 -81
- package/dist/test-utils/ordinalFixtures.d.ts +0 -48
- /package/dist/{chunk-chunk-JJ2OOIET.module.min.js → c-GGISSW5E.min.js} +0 -0
- /package/dist/{chunk-chunk-SIRIJ3DY.module.min.js → c-N4G2L7ID.min.js} +0 -0
- /package/dist/{chunk-chunk-CA3YDW6F.module.min.js → c-S6U5CGT5.min.js} +0 -0
- /package/dist/components/recipes/{mobileAnnotationStrategy.d.ts → mobileAnnotationBehavior.d.ts} +0 -0
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { ProcessSankeyEdge, ProcessSankeyLaneLifetime, ProcessSankeyLayoutQuality, ProcessSankeyNode, ProcessSankeyNodeData, ProcessSankeyRibbonLane, ProcessSankeySlot } from "./algorithm";
|
|
2
2
|
export type { ProcessSankeyRibbonLane };
|
|
3
3
|
export type SlotByNode = Record<string, number>;
|
|
4
|
+
/** Dictionary for authored identifiers, including JavaScript prototype keys. */
|
|
5
|
+
export declare function createProcessSankeyRecord<T>(): Record<string, T>;
|
|
4
6
|
export interface SlotGeometryOptions {
|
|
5
7
|
plotH: number;
|
|
6
8
|
padding: number;
|
|
@@ -1,47 +1,9 @@
|
|
|
1
1
|
import type { ProcessSankeyEdge, ProcessSankeyLaneLifetime, ProcessSankeyNode, ProcessSankeyNodeData, ProcessSankeySlot } from "./algorithm";
|
|
2
|
-
import { type
|
|
2
|
+
import { type SlotByNode } from "./layoutGeometry";
|
|
3
3
|
import { bondProcessSankeySlotGroups } from "./orderingBond";
|
|
4
|
+
import type { ProcessSankeyOrderingOptions, ProcessSankeyOrderingResult } from "./orderingTypes";
|
|
5
|
+
export type { ProcessSankeyOrderMetrics, ProcessSankeyOrderingOptions, ProcessSankeyOrderingResult, } from "./orderingTypes";
|
|
4
6
|
export { bondProcessSankeySlotGroups };
|
|
5
|
-
export interface ProcessSankeyOrderMetrics {
|
|
6
|
-
crossings: number;
|
|
7
|
-
weightedLength: number;
|
|
8
|
-
pixelLength: number;
|
|
9
|
-
transitOcclusion: number;
|
|
10
|
-
cost: number;
|
|
11
|
-
}
|
|
12
|
-
export interface ProcessSankeyOrderingResult {
|
|
13
|
-
before: ProcessSankeyOrderMetrics;
|
|
14
|
-
after: ProcessSankeyOrderMetrics;
|
|
15
|
-
/** Stable slot ids before optimization, used by quality baselines. */
|
|
16
|
-
initialOrder: string[];
|
|
17
|
-
/** Candidate counts make the performance budget testable without timers. */
|
|
18
|
-
evaluations: {
|
|
19
|
-
fullCrossing: number;
|
|
20
|
-
localCrossing: number;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export interface ProcessSankeyOrderingOptions {
|
|
24
|
-
plotH: number;
|
|
25
|
-
padding: number;
|
|
26
|
-
valueScale: number;
|
|
27
|
-
groupPadding?: number;
|
|
28
|
-
laneOrder?: "insertion" | "crossing-min" | "inside-out" | "crossing-min+inside-out";
|
|
29
|
-
ribbonLane?: ProcessSankeyRibbonLane;
|
|
30
|
-
domain?: [number, number];
|
|
31
|
-
/**
|
|
32
|
-
* Placement used when scoring pixel/transit cost. Must match the final
|
|
33
|
-
* layout's `lanePlacement` so a hug + maxValueScale pass can refine order
|
|
34
|
-
* against rendered geometry (M3), not only the dry stack scale=1 proxy.
|
|
35
|
-
*/
|
|
36
|
-
lanePlacement?: "stack" | "hug";
|
|
37
|
-
/**
|
|
38
|
-
* `"full"` runs barycenter + exact search + geometry refine.
|
|
39
|
-
* `"geometry-refine"` only runs the bounded exact-transit adjacent-swap
|
|
40
|
-
* (and unit-aware transpose when multi-slot bonds exist) — used after the
|
|
41
|
-
* final valueScale / hug geometry is known.
|
|
42
|
-
*/
|
|
43
|
-
mode?: "full" | "geometry-refine";
|
|
44
|
-
}
|
|
45
7
|
export declare function countCrossings(slotByNode: SlotByNode, edges: readonly ProcessSankeyEdge[]): number;
|
|
46
8
|
export declare function totalEdgeLength(slotByNode: SlotByNode, edges: readonly ProcessSankeyEdge[]): number;
|
|
47
9
|
/**
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ProcessSankeyRibbonLane } from "./layoutGeometry";
|
|
2
|
+
export interface ProcessSankeyOrderMetrics {
|
|
3
|
+
crossings: number;
|
|
4
|
+
weightedLength: number;
|
|
5
|
+
pixelLength: number;
|
|
6
|
+
transitOcclusion: number;
|
|
7
|
+
cost: number;
|
|
8
|
+
}
|
|
9
|
+
export interface ProcessSankeyOrderingResult {
|
|
10
|
+
before: ProcessSankeyOrderMetrics;
|
|
11
|
+
after: ProcessSankeyOrderMetrics;
|
|
12
|
+
/** Stable slot ids before optimization, used by quality baselines. */
|
|
13
|
+
initialOrder: string[];
|
|
14
|
+
/** Candidate counts make the performance budget testable without timers. */
|
|
15
|
+
evaluations: {
|
|
16
|
+
fullCrossing: number;
|
|
17
|
+
localCrossing: number;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export interface ProcessSankeyOrderingOptions {
|
|
21
|
+
plotH: number;
|
|
22
|
+
padding: number;
|
|
23
|
+
valueScale: number;
|
|
24
|
+
groupPadding?: number;
|
|
25
|
+
laneOrder?: "insertion" | "crossing-min" | "inside-out" | "crossing-min+inside-out";
|
|
26
|
+
ribbonLane?: ProcessSankeyRibbonLane;
|
|
27
|
+
domain?: [number, number];
|
|
28
|
+
/** Placement used when scoring pixel/transit cost. */
|
|
29
|
+
lanePlacement?: "stack" | "hug";
|
|
30
|
+
/** Full search or the bounded final-scale geometry refinement. */
|
|
31
|
+
mode?: "full" | "geometry-refine";
|
|
32
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ProcessSankeyEdge, ProcessSankeyLaneLifetime, ProcessSankeyNode, ProcessSankeyNodeData, ProcessSankeySlot } from "./algorithm";
|
|
2
2
|
import { type SlotByNode } from "./layoutGeometry";
|
|
3
3
|
import { clearProcessSankeyPackingCache, processSankeyPackingSignature, rehydrateProcessSankeySlots } from "./packingCache";
|
|
4
|
-
export { clearProcessSankeyPackingCache, processSankeyPackingSignature, rehydrateProcessSankeySlots
|
|
4
|
+
export { clearProcessSankeyPackingCache, processSankeyPackingSignature, rehydrateProcessSankeySlots };
|
|
5
5
|
export declare function packProcessSankeySlots(nodes: readonly ProcessSankeyNode[], edges: readonly ProcessSankeyEdge[], nodeData: Readonly<Record<string, ProcessSankeyNodeData>>, laneLifetime: Readonly<Record<string, ProcessSankeyLaneLifetime>>): {
|
|
6
6
|
slots: ProcessSankeySlot[];
|
|
7
7
|
slotByNode: SlotByNode;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ProcessSankeyEdge, ProcessSankeyLaneLifetime, ProcessSankeyNode, ProcessSankeyNodeData, ProcessSankeySlot } from "./algorithm";
|
|
2
|
-
import type
|
|
2
|
+
import { type SlotByNode } from "./layoutGeometry";
|
|
3
3
|
/**
|
|
4
4
|
* Reapply a frozen packing assignment under updated mass/lifetime data.
|
|
5
5
|
* Occupant membership and row identity stay fixed; peaks and end times refresh.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { ProcessSankeyEdge, ProcessSankeyLaneLifetime, ProcessSankeyNode } from "./algorithm";
|
|
2
|
+
type PackingWindow = ProcessSankeyLaneLifetime;
|
|
3
|
+
interface PackingConflicts {
|
|
4
|
+
conflicts: (a: string, b: string) => boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Exclusive packing role for *terminal* handoffs only:
|
|
8
|
+
* - pure source-only feeders (no incoming, one outgoing sink), or
|
|
9
|
+
* - temporary branches whose only overall neighbor is one partner
|
|
10
|
+
* (leave/return to a single core).
|
|
11
|
+
*
|
|
12
|
+
* Intermediate chain stages (in from A, out to B) are intentionally excluded —
|
|
13
|
+
* they must stay free to share rows for continuity packing (Launch→Orbit→…).
|
|
14
|
+
* Mixing two different terminal roles on one row is what forces later ordering
|
|
15
|
+
* to drag one exclusive handoff across the other's partner.
|
|
16
|
+
*/
|
|
17
|
+
declare function exclusivePartnerWeights(edges: readonly ProcessSankeyEdge[]): Map<string, {
|
|
18
|
+
partner: string;
|
|
19
|
+
weight: number;
|
|
20
|
+
}>;
|
|
21
|
+
/**
|
|
22
|
+
* Active bands are the primary row reservation, but they are not the whole
|
|
23
|
+
* visual footprint: the incident ribbons occupy the broader rail lifetime.
|
|
24
|
+
* When two alternate phases share the same predecessor and successor and
|
|
25
|
+
* their rails overlap at a very close handoff, putting them on the same row
|
|
26
|
+
* makes their transition bundles collide. Mark that small semantic family
|
|
27
|
+
* for a local spill row instead of silently placing one member in an unrelated row.
|
|
28
|
+
*
|
|
29
|
+
* Direct sequential handoffs remain reusable even when their rails overlap;
|
|
30
|
+
* those are precisely the straight-through Launch -> Orbit cases packing is
|
|
31
|
+
* intended to reveal.
|
|
32
|
+
*/
|
|
33
|
+
declare function buildPackingConflicts(ids: readonly string[], windows: Readonly<Record<string, PackingWindow>>, railLifetime: Readonly<Record<string, ProcessSankeyLaneLifetime>>, edges: readonly ProcessSankeyEdge[], groupById: ReadonlyMap<string, string | undefined>, exclusive: ReadonlyMap<string, {
|
|
34
|
+
partner: string;
|
|
35
|
+
weight: number;
|
|
36
|
+
}>): PackingConflicts;
|
|
37
|
+
declare function chronologicalIds(nodes: readonly ProcessSankeyNode[], windows: Readonly<Record<string, PackingWindow>>): string[];
|
|
38
|
+
/** Chronological greedy coloring, used as both a bound and large-chart path. */
|
|
39
|
+
declare function chronologicalColoring(ids: readonly string[], packingConflicts: PackingConflicts, exclusive?: ReadonlyMap<string, {
|
|
40
|
+
partner: string;
|
|
41
|
+
weight: number;
|
|
42
|
+
}>): {
|
|
43
|
+
assignment: number[];
|
|
44
|
+
slotCount: number;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Exact coloring becomes combinatorial, but large stage-based rivers still
|
|
48
|
+
* need continuity-aware row reuse. Improve the minimum-row greedy coloring
|
|
49
|
+
* with bounded legal moves and pair swaps. Direct handoffs are the primary
|
|
50
|
+
* objective; at equal handoff continuity, a secondary source-role objective
|
|
51
|
+
* keeps temporally reused feeder rows coherent by destination. Swapping two
|
|
52
|
+
* simultaneous nodes often lets both reclaim their strongest predecessor rows
|
|
53
|
+
* (for example Western-zone Bremen and Soviet-zone GDR) without weakening
|
|
54
|
+
* packing.
|
|
55
|
+
*/
|
|
56
|
+
declare function improveLargeContinuityColoring(ids: readonly string[], packingConflicts: PackingConflicts, edges: readonly ProcessSankeyEdge[], baseline: {
|
|
57
|
+
assignment: number[];
|
|
58
|
+
slotCount: number;
|
|
59
|
+
}): number[];
|
|
60
|
+
/**
|
|
61
|
+
* Small ProcessSankeys can afford to examine every coloring up to the
|
|
62
|
+
* chronological greedy bound. Among them, maximize the edge value whose
|
|
63
|
+
* endpoints share a row:
|
|
64
|
+
* the objective makes heavy sequential bundles straight without inventing a
|
|
65
|
+
* topology-specific stage order. A hard evaluation budget retains predictable
|
|
66
|
+
* behavior for adversarial interval sets.
|
|
67
|
+
*/
|
|
68
|
+
declare function continuityColoring(ids: readonly string[], packingConflicts: PackingConflicts, edges: readonly ProcessSankeyEdge[], baseline: {
|
|
69
|
+
assignment: number[];
|
|
70
|
+
slotCount: number;
|
|
71
|
+
}): number[];
|
|
72
|
+
export { buildPackingConflicts, chronologicalColoring, chronologicalIds, continuityColoring, exclusivePartnerWeights, improveLargeContinuityColoring };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Datum } from "../shared/datumTypes";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import type { StreamOrdinalFrameProps } from "../../stream/ordinalTypes";
|
|
3
|
+
import type { BarCornerRadius, StreamOrdinalFrameProps } from "../../stream/ordinalTypes";
|
|
4
4
|
import type { LegendInteractionMode } from "../shared/hooks";
|
|
5
5
|
import type { BaseChartProps, ChartAccessor, CategoryFormatFn } from "../shared/types";
|
|
6
6
|
import { type TooltipProp } from "../../Tooltip/Tooltip";
|
|
@@ -62,8 +62,9 @@ export interface BarChartProps<TDatum extends Datum = Datum> extends BaseChartPr
|
|
|
62
62
|
* the category list on the axis. */
|
|
63
63
|
sort?: boolean | "asc" | "desc" | "auto" | ((a: string, b: string) => number);
|
|
64
64
|
barPadding?: number;
|
|
65
|
-
/** Rounded top corner radius in pixels
|
|
66
|
-
|
|
65
|
+
/** Rounded top corner radius in pixels, or a function of the rendered bar
|
|
66
|
+
* width. Only the end away from the baseline is rounded. */
|
|
67
|
+
roundedTop?: BarCornerRadius;
|
|
67
68
|
/**
|
|
68
69
|
* Gradient fill from the bar's tip (offset 0) toward its base (offset 1).
|
|
69
70
|
* Stops can set `color`, `opacity`, or both. Omit a stop color to inherit
|
|
@@ -32,6 +32,8 @@ export interface FunnelChartProps<TDatum extends Datum = Datum> extends BaseChar
|
|
|
32
32
|
connectorOpacity?: number;
|
|
33
33
|
/** Show step name + value labels on bars (default true) */
|
|
34
34
|
showLabels?: boolean;
|
|
35
|
+
/** Show axes and category ticks for vertical funnels (default true). */
|
|
36
|
+
showAxes?: boolean;
|
|
35
37
|
enableHover?: boolean;
|
|
36
38
|
showLegend?: boolean;
|
|
37
39
|
legendInteraction?: LegendInteractionMode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Datum } from "../shared/datumTypes";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import type { StreamOrdinalFrameProps } from "../../stream/ordinalTypes";
|
|
3
|
+
import type { BarCornerRadius, StreamOrdinalFrameProps } from "../../stream/ordinalTypes";
|
|
4
4
|
import type { LegendInteractionMode } from "../shared/hooks";
|
|
5
5
|
import type { BaseChartProps, ChartAccessor, CategoryFormatFn } from "../shared/types";
|
|
6
6
|
import { type TooltipProp } from "../../Tooltip/Tooltip";
|
|
@@ -22,7 +22,8 @@ export interface GroupedBarChartProps<TDatum extends Datum = Datum> extends Base
|
|
|
22
22
|
sort?: boolean | "asc" | "desc" | "auto" | ((a: string, b: string) => number);
|
|
23
23
|
barPadding?: number;
|
|
24
24
|
/** Rounded corner radius on bar ends (away from baseline). */
|
|
25
|
-
|
|
25
|
+
/** Rounded top corner radius, or a function of the rendered bar width. */
|
|
26
|
+
roundedTop?: BarCornerRadius;
|
|
26
27
|
/** Tip-to-base bar gradient using `{ stops: [{ offset, color?, opacity? }] }`. */
|
|
27
28
|
gradientFill?: GradientInput;
|
|
28
29
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Datum } from "../shared/datumTypes";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import type { StreamOrdinalFrameProps } from "../../stream/ordinalTypes";
|
|
3
|
+
import type { BarCornerRadius, StreamOrdinalFrameProps } from "../../stream/ordinalTypes";
|
|
4
4
|
import type { LegendInteractionMode } from "../shared/hooks";
|
|
5
5
|
import type { BaseChartProps, ChartAccessor, CategoryFormatFn } from "../shared/types";
|
|
6
6
|
import { type TooltipProp } from "../../Tooltip/Tooltip";
|
|
@@ -22,8 +22,9 @@ export interface StackedBarChartProps<TDatum extends Datum = Datum> extends Base
|
|
|
22
22
|
/** Category sort order. Default: `false` (data insertion order). `"asc"`/`"desc"` sorts by total stacked value. `"auto"` preserves insertion order while streaming and falls through to value-desc on static data. Custom comparators receive category keys. */
|
|
23
23
|
sort?: boolean | "asc" | "desc" | "auto" | ((a: string, b: string) => number);
|
|
24
24
|
barPadding?: number;
|
|
25
|
-
/** Rounded top corner radius
|
|
26
|
-
|
|
25
|
+
/** Rounded top corner radius, or a function of the rendered bar width. Only
|
|
26
|
+
* the topmost stacked segment gets rounded. */
|
|
27
|
+
roundedTop?: BarCornerRadius;
|
|
27
28
|
/** Tip-to-base segment gradient using `{ stops: [{ offset, color?, opacity? }] }`. */
|
|
28
29
|
gradientFill?: GradientInput;
|
|
29
30
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Datum } from "../shared/datumTypes";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import type { StreamOrdinalFrameProps } from "../../stream/ordinalTypes";
|
|
3
|
+
import type { BarCornerRadius, StreamOrdinalFrameProps } from "../../stream/ordinalTypes";
|
|
4
4
|
import type { LegendInteractionMode } from "../shared/hooks";
|
|
5
5
|
import type { BaseChartProps, ChartAccessor, CategoryFormatFn } from "../shared/types";
|
|
6
6
|
import { type TooltipProp } from "../../Tooltip/Tooltip";
|
|
@@ -77,7 +77,7 @@ export interface SwimlaneChartProps<TDatum extends Datum = Datum> extends BaseCh
|
|
|
77
77
|
* lane. Both ends round: left+right in horizontal orientation, top+bottom
|
|
78
78
|
* in vertical. Middle segments of multi-segment lanes stay square so
|
|
79
79
|
* pieces visually butt against each other. */
|
|
80
|
-
roundedTop?:
|
|
80
|
+
roundedTop?: BarCornerRadius;
|
|
81
81
|
/** Fixed value-axis domain `[min, max]`. Either bound may be `undefined` to leave that side data-derived. */
|
|
82
82
|
valueExtent?: [number | undefined, number | undefined] | [number];
|
|
83
83
|
/** Pass-through props to StreamOrdinalFrame */
|
|
@@ -5,15 +5,8 @@ import type { StyleRule } from "../shared/styleRules";
|
|
|
5
5
|
import { type PhysicsFrameHandle } from "./physicsHocHandle";
|
|
6
6
|
import { type PhysicsHocFrameProps, type PhysicsRerunMS, type PhysicsSharedChartProps, type PhysicsSimulationMode, type TooltipProp } from "./physicsHocUtils";
|
|
7
7
|
import type { ChartMode } from "../shared/types";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
label?: React.ReactNode;
|
|
11
|
-
color?: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
strokeDasharray?: string;
|
|
14
|
-
strokeWidth?: number;
|
|
15
|
-
labelPosition?: "top" | "bottom";
|
|
16
|
-
}
|
|
8
|
+
import { type GaltonBoardReferenceLine } from "./physicsProjectionOverlays";
|
|
9
|
+
export type { GaltonBoardReferenceLine } from "./physicsProjectionOverlays";
|
|
17
10
|
export interface GaltonBoardChartProps<TDatum extends Datum = Datum> extends Omit<BaseChartProps, "margin" | "mode" | "selection">, PhysicsSharedChartProps {
|
|
18
11
|
data?: TDatum[];
|
|
19
12
|
size?: [number, number];
|
|
@@ -2,61 +2,30 @@ import * as React from "react";
|
|
|
2
2
|
import type { PhysicsFrameHandle } from "./physicsHocHandle";
|
|
3
3
|
import type { Datum } from "../shared/datumTypes";
|
|
4
4
|
import type { GauntletChartProps } from "./gauntletChartProps";
|
|
5
|
-
export
|
|
6
|
-
export { applyGauntletEffect, planGauntletPropertyWork, replaceGauntletNegative } from "./gauntletEffects";
|
|
7
|
-
export type { GauntletAccessors, GauntletCoreBodyFn, GauntletEffect, GauntletEvent, GauntletEventContext, GauntletEventLogItem, GauntletGate, GauntletLayout, GauntletPopSpec, GauntletProjectPlacement, GauntletProjectPlacementFn, GauntletProjectState, GauntletPropertyDefinition, GauntletPropertyForceContext, GauntletPropertyWorkPlan, GauntletPropertyWorkPlanOptions, GauntletNegativeReplacementOptions, GauntletViabilityFn } from "./gauntletPhysics";
|
|
8
|
-
export type { GauntletChartProps };
|
|
5
|
+
export * from "./gauntletPublic";
|
|
9
6
|
/**
|
|
10
7
|
* Physics-backed gauntlet: project core + property satellites through timed or
|
|
11
8
|
* capacity-gated process events.
|
|
12
9
|
*
|
|
13
10
|
* @example
|
|
14
11
|
* ```tsx
|
|
15
|
-
* <GauntletChart
|
|
16
|
-
* data={[{ id: "plan-a", positives: ["homes"], negatives: ["cost"] }]}
|
|
12
|
+
* <GauntletChart data={[{ id: "plan-a", positives: ["homes"], negatives: ["cost"] }]}
|
|
17
13
|
* positiveProperties={[{ id: "homes", label: "Homes", radius: 10 }]}
|
|
18
14
|
* negativeProperties={[{ id: "cost", label: "Cost", load: 1.2, radius: 8 }]}
|
|
19
|
-
* size={[720, 380]}
|
|
20
|
-
* />
|
|
15
|
+
* size={[720, 380]} />
|
|
21
16
|
* ```
|
|
22
17
|
*
|
|
23
18
|
* @example
|
|
24
|
-
* Multiple attached properties routed through timed gates, with the
|
|
25
|
-
* settled viability/outcome projection strip enabled:
|
|
26
19
|
* ```tsx
|
|
27
|
-
* <GauntletChart
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* negativeProperties={[{ id: "cost", label: "Cost", load: 1.2, radius: 8 }]}
|
|
34
|
-
* gates={[
|
|
35
|
-
* { id: "review", label: "Review" },
|
|
36
|
-
* { id: "budget", label: "Budget" },
|
|
37
|
-
* ]}
|
|
38
|
-
* showProjection
|
|
39
|
-
* size={[720, 380]}
|
|
40
|
-
* />
|
|
20
|
+
* <GauntletChart data={[{ id: "alpha", start: 0, work: 3 }, { id: "beta", start: 1.5, work: 1, risks: ["risk"] }]}
|
|
21
|
+
* startTimeAccessor="start" negativeAccessor="risks"
|
|
22
|
+
* negativeProperties={[{ id: "risk", label: "Review risk", load: 1.4 }]}
|
|
23
|
+
* gates={[{ id: "review", time: 2, capacity: { unitsPerSecond: 2, unitAccessor: "work" } }]}
|
|
24
|
+
* events={[{ id: "done", gateId: "review", time: 2, effects: [{ popNegative: ["risk"] }] }]}
|
|
25
|
+
* showProjection />
|
|
41
26
|
* ```
|
|
42
27
|
*
|
|
43
|
-
*
|
|
44
|
-
* Stagger negative-only compound entities on project-local clocks and share a
|
|
45
|
-
* finite service across their root bodies:
|
|
46
|
-
* ```tsx
|
|
47
|
-
* <GauntletChart
|
|
48
|
-
* data={pullRequests}
|
|
49
|
-
* startTimeAccessor="arrival"
|
|
50
|
-
* negativeAccessor="risks"
|
|
51
|
-
* negativeProperties={riskProperties}
|
|
52
|
-
* gates={[{
|
|
53
|
-
* id: "review",
|
|
54
|
-
* capacity: { unitsPerSecond: 5, unitAccessor: "reviewWork" }
|
|
55
|
-
* }]}
|
|
56
|
-
* events={reviewEvents}
|
|
57
|
-
* onCapacityChange={setCapacity}
|
|
58
|
-
* />
|
|
59
|
-
* ```
|
|
28
|
+
* Compose timed gates, capacity controls, staggered starts, and projections through the corresponding props.
|
|
60
29
|
*/
|
|
61
30
|
export declare const GauntletChart: {
|
|
62
31
|
<TDatum extends Datum = Datum>(props: GauntletChartProps<TDatum> & React.RefAttributes<PhysicsFrameHandle>): React.ReactElement | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { type StreamPhysicsFrameProps } from "../../stream/physics/StreamPhysicsFrame";
|
|
3
3
|
import { type CapacityQueueSnapshot } from "../../stream/physics/PhysicsControllers";
|
|
4
|
-
import {
|
|
4
|
+
import type { ProcessChromeOptions } from "../../recipes/processChrome";
|
|
5
5
|
import type { Datum } from "../shared/datumTypes";
|
|
6
6
|
import type { BaseChartProps, ChartAccessor } from "../shared/types";
|
|
7
7
|
import { type ProcessFlowProjectionMetadata, type ProcessFlowStageDef } from "./physicsChartUtils";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { Datum } from "../shared/datumTypes";
|
|
3
|
+
import { type DependencyMachine } from "./dependencyMachine";
|
|
4
|
+
import type { RuntimeState } from "./chainReactionRuntime";
|
|
5
|
+
export declare function ChainReactionAccessibleTable<TDatum extends Datum>({ blockerSummary, machine, runtime }: {
|
|
6
|
+
blockerSummary: string;
|
|
7
|
+
machine: DependencyMachine<TDatum>;
|
|
8
|
+
runtime: RuntimeState;
|
|
9
|
+
}): React.JSX.Element;
|
|
@@ -20,6 +20,7 @@ interface DependencyBallDatum {
|
|
|
20
20
|
sourceID: string;
|
|
21
21
|
targetID: string;
|
|
22
22
|
route: DependencyPoint[];
|
|
23
|
+
sourceDatum?: Datum;
|
|
23
24
|
}
|
|
24
25
|
export declare const EMPTY_SPAWNS: PhysicsQueuedSpawn[];
|
|
25
26
|
export declare function numericTime(value: number | Date | undefined, fallback?: number): number;
|
|
@@ -32,6 +33,6 @@ export declare function dependencyBodyForce(context: StreamPhysicsBodyForceConte
|
|
|
32
33
|
x: number;
|
|
33
34
|
y: number;
|
|
34
35
|
} | null;
|
|
35
|
-
export declare function ballSpawn(edge: DependencyMachineEdge, route: DependencyTrackRoute): PhysicsQueuedSpawn;
|
|
36
|
+
export declare function ballSpawn(edge: DependencyMachineEdge, route: DependencyTrackRoute, sourceDatum?: Datum): PhysicsQueuedSpawn;
|
|
36
37
|
export declare function machineSemanticItems<TDatum extends Datum>(machine: DependencyMachine<TDatum>, layout: DependencyTrackLayout, runtime: RuntimeState): PhysicsSemanticItem[];
|
|
37
38
|
export {};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { Datum } from "../shared/datumTypes";
|
|
2
|
+
import type { TooltipProp } from "../../Tooltip/Tooltip";
|
|
3
|
+
import type { AccessibleTableProp } from "../../stream/accessibleTableTypes";
|
|
2
4
|
import type { BlockerAmplification, DependencyAccessor, DependencyTaskStatus } from "./dependencyMachine";
|
|
3
5
|
export type ChainReactionMode = "snapshot" | "replay" | "mechanical";
|
|
4
6
|
export type ChainReactionInsight = "none" | "blocker-amplification";
|
|
@@ -93,6 +95,8 @@ export interface ChainReactionChartProps<TDatum extends Datum = Datum> {
|
|
|
93
95
|
title?: string;
|
|
94
96
|
description?: string;
|
|
95
97
|
className?: string;
|
|
96
|
-
accessibleTable?:
|
|
98
|
+
accessibleTable?: AccessibleTableProp;
|
|
97
99
|
enableHover?: boolean;
|
|
100
|
+
/** Standard single-datum tooltip configuration for dependency balls. */
|
|
101
|
+
tooltip?: TooltipProp;
|
|
98
102
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import type { Style } from "../../stream/types";
|
|
3
3
|
import type { PhysicsBodyState } from "../../stream/physics/PhysicsKernel";
|
|
4
|
-
import type { PhysicsSemanticItem } from "../../stream/physics/StreamPhysicsFrame";
|
|
4
|
+
import type { PhysicsCanvasPaintContext, PhysicsSemanticItem } from "../../stream/physics/StreamPhysicsFrame";
|
|
5
5
|
import type { Datum } from "../shared/datumTypes";
|
|
6
6
|
import type { CrucibleComponentState, CrucibleProductState, CrucibleRunState } from "./crucibleTypes";
|
|
7
7
|
export declare function displayNumber(value: number): string;
|
|
@@ -10,7 +10,7 @@ export declare function productDescription(product: CrucibleProductState): strin
|
|
|
10
10
|
/** Default accessible description for each live crucible body. */
|
|
11
11
|
export declare function crucibleBodySemanticItem<TDatum extends Datum>(body: PhysicsBodyState, state: CrucibleRunState<TDatum>): false | Partial<PhysicsSemanticItem>;
|
|
12
12
|
/** Canvas mark used when callers do not supply frameProps.renderBody. */
|
|
13
|
-
export declare function drawCrucibleBody(ctx: CanvasRenderingContext2D, body: PhysicsBodyState, style: Style): void;
|
|
13
|
+
export declare function drawCrucibleBody(ctx: CanvasRenderingContext2D, body: PhysicsBodyState, style: Style, paintContext?: PhysicsCanvasPaintContext): void;
|
|
14
14
|
/**
|
|
15
15
|
* SSR sibling of `drawCrucibleBody` — the same shadowed hexagon + inner ring
|
|
16
16
|
* for settled products, and highlight dot for source components, as an SVG
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Datum } from "../shared/datumTypes";
|
|
2
|
+
import type { CrucibleHistoryItem, CrucibleMetricMap, CrucibleRunState } from "./crucibleTypes";
|
|
3
|
+
export declare function cloneCrucibleMetrics(metrics: CrucibleMetricMap): CrucibleMetricMap;
|
|
4
|
+
export declare function cloneCrucibleHistory(history: readonly CrucibleHistoryItem[]): CrucibleHistoryItem[];
|
|
5
|
+
/** Clone mutable run structures while intentionally retaining source datum references. */
|
|
6
|
+
export declare function cloneCrucibleState<TDatum extends Datum>(state: CrucibleRunState<TDatum>): CrucibleRunState<TDatum>;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/** Transactional, pure reducers and summaries for a bounded Crucible tape. */
|
|
2
2
|
import type { Datum } from "../shared/datumTypes";
|
|
3
3
|
import type { CrucibleApplyContext, CrucibleApplyResult, CrucibleConservationResult, CrucibleConservationSpec, CrucibleDiagnostic, CrucibleEvent, CrucibleHistoryItem, CrucibleProjectionRow, CrucibleProjectionSpec, CrucibleRunState, CrucibleSelector } from "./crucibleTypes";
|
|
4
|
-
|
|
5
|
-
export declare function cloneCrucibleState<TDatum extends Datum>(state: CrucibleRunState<TDatum>): CrucibleRunState<TDatum>;
|
|
4
|
+
export { cloneCrucibleState } from "./crucibleClone";
|
|
6
5
|
export interface CrucibleSelectorResult {
|
|
7
6
|
ids: string[];
|
|
8
7
|
diagnostics: CrucibleDiagnostic[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Create a string-keyed Crucible dictionary without inherited keys.
|
|
3
|
+
* Authored component, product, relation, and metric identifiers may legally
|
|
4
|
+
* match names such as `constructor` or `__proto__`.
|
|
5
|
+
*/
|
|
6
|
+
export declare function createCrucibleRecord<T>(entries?: Iterable<readonly [string, T]>): Record<string, T>;
|
|
7
|
+
export declare function mergeCrucibleRecords<T>(...sources: Array<Readonly<Record<string, T>> | undefined>): Record<string, T>;
|
|
@@ -6,12 +6,12 @@ import type { Datum } from "../shared/datumTypes";
|
|
|
6
6
|
import type { Style } from "../../stream/types";
|
|
7
7
|
import type { PhysicsBodyState } from "../../stream/physics/PhysicsKernel";
|
|
8
8
|
import type { PhysicsHoverData } from "../../stream/physics/StreamPhysicsFrame";
|
|
9
|
-
import type { PhysicsSemanticItem } from "../../stream/physics/StreamPhysicsTypes";
|
|
9
|
+
import type { PhysicsCanvasPaintContext, PhysicsSemanticItem } from "../../stream/physics/StreamPhysicsTypes";
|
|
10
10
|
import { type GauntletLayout, type GauntletProjectState } from "./gauntletPhysics";
|
|
11
|
+
export declare const GAUNTLET_SURFACE_PAINT = "var(--semiotic-surface, var(--semiotic-bg, #fff))";
|
|
11
12
|
export declare function defaultGauntletTooltipContent(hover: PhysicsHoverData): React.ReactNode;
|
|
12
|
-
export declare function drawGauntletBody(ctx: CanvasRenderingContext2D, body: PhysicsBodyState, style: Style): void;
|
|
13
|
-
export declare function
|
|
14
|
-
export declare function drawTethers(ctx: CanvasRenderingContext2D, bodies: PhysicsBodyState[]): void;
|
|
13
|
+
export declare function drawGauntletBody(ctx: CanvasRenderingContext2D, body: PhysicsBodyState, style: Style, paintContext?: PhysicsCanvasPaintContext): void;
|
|
14
|
+
export declare function drawTethers(ctx: CanvasRenderingContext2D, bodies: PhysicsBodyState[], paintContext?: PhysicsCanvasPaintContext): void;
|
|
15
15
|
export declare function GauntletChrome({ layout, states, compact }: {
|
|
16
16
|
layout: GauntletLayout;
|
|
17
17
|
states: readonly GauntletProjectState[];
|
|
@@ -82,5 +82,6 @@ export declare function buildGauntletPhysics<TDatum extends Datum = Datum>(optio
|
|
|
82
82
|
config: NonNullable<import("../../stream/physics/PhysicsPipelineStore").PhysicsPipelineConfig>;
|
|
83
83
|
initialSpawns: PhysicsQueuedSpawn[];
|
|
84
84
|
layout: GauntletLayout;
|
|
85
|
+
states: GauntletProjectState<TDatum>[];
|
|
85
86
|
};
|
|
86
87
|
export declare function buildNegativeSpawn<TDatum extends Datum>(project: GauntletProjectState<TDatum>, property: GauntletPropertyDefinition, index: number, x: number, y: number, layout: GauntletWallLayout, spawnAt?: number): PhysicsQueuedSpawn;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { GAUNTLET_WALL, clampGauntletPoint, buildGauntletPhysics } from "./gauntletPhysics";
|
|
2
|
+
export { applyGauntletEffect, planGauntletPropertyWork, replaceGauntletNegative } from "./gauntletEffects";
|
|
3
|
+
export type { GauntletAccessors, GauntletCoreBodyFn, GauntletEffect, GauntletEvent, GauntletEventContext, GauntletEventLogItem, GauntletGate, GauntletLayout, GauntletPopSpec, GauntletProjectPlacement, GauntletProjectPlacementFn, GauntletProjectState, GauntletPropertyDefinition, GauntletPropertyForceContext, GauntletPropertyWorkPlan, GauntletPropertyWorkPlanOptions, GauntletNegativeReplacementOptions, GauntletViabilityFn } from "./gauntletPhysics";
|
|
4
|
+
export type { GauntletChartProps } from "./gauntletChartProps";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { StreamPhysicsFrameProps } from "../../stream/physics/StreamPhysicsTypes";
|
|
2
|
+
import type { PhysicalFlowProjectionMetadata } from "./physicsChartUtils";
|
|
3
|
+
export declare function physicalFlowOverlay(metadata: PhysicalFlowProjectionMetadata | undefined, options: {
|
|
4
|
+
showNodeLabels: boolean;
|
|
5
|
+
showSensors: boolean;
|
|
6
|
+
showStaticFlow: boolean;
|
|
7
|
+
}): StreamPhysicsFrameProps["foregroundGraphics"] | undefined;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ChartMode } from "../shared/types";
|
|
2
|
+
/** Physics fills its box; only compact ChartModes get non-zero chrome padding. */
|
|
3
|
+
export declare function physicsMarginForMode(compactMode: boolean, mode?: ChartMode): {
|
|
4
|
+
top: number;
|
|
5
|
+
right: number;
|
|
6
|
+
bottom: number;
|
|
7
|
+
left: number;
|
|
8
|
+
};
|
|
@@ -4,7 +4,7 @@ import type { Style } from "../../stream/types";
|
|
|
4
4
|
import { type StyleRule } from "../shared/styleRules";
|
|
5
5
|
import type { PhysicsColliderSpec } from "../../stream/physics/PhysicsKernel";
|
|
6
6
|
import type { PhysicsPipelineConfig, PhysicsQueuedSpawn, PhysicsSpawnPacingOptions } from "../../stream/physics/PhysicsPipelineStore";
|
|
7
|
-
import type { PhysicsSemanticItem } from "../../stream/physics/StreamPhysicsTypes";
|
|
7
|
+
import type { PhysicsSemanticItem, StreamPhysicsFrameProps } from "../../stream/physics/StreamPhysicsTypes";
|
|
8
8
|
export interface PhysicsChartLayout {
|
|
9
9
|
config: PhysicsPipelineConfig;
|
|
10
10
|
initialSpawns: PhysicsQueuedSpawn[];
|
|
@@ -34,6 +34,8 @@ export interface PhysicsStyleRuleOptions {
|
|
|
34
34
|
/** Numeric field/accessor a threshold rule compares against (defaults to `value`). */
|
|
35
35
|
valueAccessor?: string | ((d: Datum) => unknown);
|
|
36
36
|
}
|
|
37
|
+
/** Merge generated HOC defaults with the public frame escape hatch. */
|
|
38
|
+
export declare function composePhysicsBodyStyle(generatedStyle: NonNullable<StreamPhysicsFrameProps["bodyStyle"]>, frameStyle: StreamPhysicsFrameProps["bodyStyle"]): NonNullable<StreamPhysicsFrameProps["bodyStyle"]>;
|
|
37
39
|
/**
|
|
38
40
|
* Build a per-body `bodyStyle` from a `colorBy` accessor. When `styleRules`
|
|
39
41
|
* are supplied, the merged rule style layers on top of the colorBy-derived
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Implementations live in per-chart modules next to this file.
|
|
4
4
|
*/
|
|
5
5
|
export type { PhysicsChartLayout, PhysicsChartArea } from "./physicsChartShared";
|
|
6
|
-
export { projectionRowsToSemanticItems, physicsChartArea, hashStringColor, styleFromColorAccessor } from "./physicsChartShared";
|
|
6
|
+
export { projectionRowsToSemanticItems, physicsChartArea, hashStringColor, composePhysicsBodyStyle, styleFromColorAccessor } from "./physicsChartShared";
|
|
7
7
|
export type { GaltonBoardPhysicsOptions, GaltonBoardProjectionMetadata, GaltonMechanicalSampleOptions } from "./galtonBoardPhysics";
|
|
8
8
|
export { generateGaltonMechanicalSamples, buildGaltonBoardPhysics } from "./galtonBoardPhysics";
|
|
9
9
|
export type { EventDropWindowOptions, EventDropPlotRegion, EventDropLidSegment, EventDropProjectionMetadata, EventDropPhysicsOptions } from "./eventDropPhysics";
|