semiotic 3.10.0 → 3.10.2
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 +73 -72
- package/ai/artifact-surface-inventory.json +4 -1
- package/ai/componentMetadata.cjs +3 -1
- package/ai/dist/mcp-server.js +47 -46
- package/ai/examples.md +95 -0
- package/ai/reference.md +80 -1
- package/ai/schema.json +7304 -1990
- package/ai/surface-manifest.json +26 -4
- package/ai/task-packets/compare-category-totals.json +7 -53
- package/ai/task-packets/compare-category-totals.md +4 -4
- package/ai/task-packets/correct-published-chart.json +7 -53
- package/ai/task-packets/correct-published-chart.md +4 -4
- package/ai/task-packets/index.json +9 -9
- package/ai/task-packets/update-live-chart.json +8 -54
- package/ai/task-packets/update-live-chart.md +4 -4
- package/dist/c-27DCB5T6.min.js +18 -0
- package/dist/c-2MONF2P6.min.js +1 -0
- package/dist/c-2TW5H5PD.min.js +1 -0
- package/dist/c-3AGX252H.min.js +1 -0
- package/dist/c-3B6JZEZT.min.js +1 -0
- package/dist/c-3BYZXCX3.min.js +4 -0
- package/dist/c-3DIPZJDO.min.js +1 -0
- package/dist/c-3FOUMWLR.min.js +1 -0
- package/dist/c-3NA6I656.min.js +2 -0
- package/dist/c-3OFVBWQY.min.js +1 -0
- package/dist/{c-QA3HMQJP.min.js → c-3PFVJFBK.min.js} +1 -1
- package/dist/c-3PPO7ZJF.min.js +4 -0
- package/dist/c-3YEW2PK6.min.js +1 -0
- package/dist/c-4JKDJUYD.min.js +1 -0
- package/dist/c-4LKK5YWB.min.js +1 -0
- package/dist/c-4MD53L2J.min.js +33 -0
- package/dist/c-4V3CD337.min.js +1 -0
- package/dist/c-4XLHPQTP.min.js +1 -0
- package/dist/c-5NYONM6V.min.js +5 -0
- package/dist/c-6IVBV5NO.min.js +1 -0
- package/dist/c-6ZU3QVLB.min.js +100 -0
- package/dist/c-72CBVNYX.min.js +209 -0
- package/dist/c-7APWCEPL.min.js +1 -0
- package/dist/c-7ASK4WBF.min.js +1 -0
- package/dist/{c-ORLEBW72.min.js → c-7FKPPCGN.min.js} +1 -1
- package/dist/c-7LY46QUI.min.js +41 -0
- package/dist/c-ABMGCCLT.min.js +1 -0
- package/dist/c-AINGQGUN.min.js +1 -0
- package/dist/c-AKLBQMQF.min.js +391 -0
- package/dist/c-AXJ2QI3F.min.js +1 -0
- package/dist/c-BQYD7T4E.min.js +1 -0
- package/dist/{c-V4XMSLC3.min.js → c-BYJJ7EMG.min.js} +1 -1
- package/dist/{c-JO2UGTCP.min.js → c-C4KIXUWU.min.js} +1 -1
- package/dist/c-C4SXYFXL.min.js +1 -0
- package/dist/c-CLDCKFBE.min.js +1 -0
- package/dist/c-CLJCJSFU.min.js +1 -0
- package/dist/c-CLLCX3PT.min.js +2 -0
- package/dist/c-ECHBKW7U.min.js +1 -0
- package/dist/c-EPJWM2UT.min.js +1 -0
- package/dist/c-F2GGJB2S.min.js +31 -0
- package/dist/c-FD2BXSRG.min.js +1 -0
- package/dist/c-FDUQDCBC.min.js +51 -0
- package/dist/c-FOTTQHOO.min.js +1 -0
- package/dist/c-FU7A5KSY.min.js +1 -0
- package/dist/c-G53AVC42.min.js +113 -0
- package/dist/c-GHN6IR4Y.min.js +1 -0
- package/dist/c-GSCO3FWL.min.js +1 -0
- package/dist/c-GYLOSK7M.min.js +1 -0
- package/dist/c-HK4OSLZA.min.js +1 -0
- package/dist/c-HLGTD5SJ.min.js +1 -0
- package/dist/c-HQ27AHMC.min.js +1 -0
- package/dist/{c-D6HAAPTX.min.js → c-IBRLFKWA.min.js} +1 -1
- package/dist/c-IHWZ2C6D.min.js +26 -0
- package/dist/c-IIV73MUW.min.js +1 -0
- package/dist/c-IPYGNVN6.min.js +116 -0
- package/dist/c-JJKRER47.min.js +1 -0
- package/dist/c-JO6AYCU4.min.js +1 -0
- package/dist/c-JWHPG6S2.min.js +1 -0
- package/dist/c-JXVYIXTV.min.js +1 -0
- package/dist/c-K2ZIYDI3.min.js +1 -0
- package/dist/c-K37JAIWA.min.js +4 -0
- package/dist/c-KGROWFT2.min.js +9 -0
- package/dist/c-MOP2NGLH.min.js +1 -0
- package/dist/c-MTX2AO5S.min.js +1 -0
- package/dist/c-N5WT7TXG.min.js +1 -0
- package/dist/c-NATWERHZ.min.js +1 -0
- package/dist/{c-42PLDTX7.min.js → c-O53GOO7H.min.js} +1 -1
- package/dist/c-OVQB75PE.min.js +1 -0
- package/dist/c-P3SKRNZN.min.js +1 -0
- package/dist/c-P5NXQWIM.min.js +1 -0
- package/dist/c-P7BQMVQQ.min.js +1 -0
- package/dist/{c-GNTXRXRN.min.js → c-PDQHLOKU.min.js} +1 -1
- package/dist/c-PKY4JFY5.min.js +1 -0
- package/dist/c-PQOZPM4G.min.js +1 -0
- package/dist/c-PZ3NEGNG.min.js +1 -0
- package/dist/c-QXLDCATV.min.js +1 -0
- package/dist/c-R2HUSWKB.min.js +1 -0
- package/dist/{c-HYW2XA4Q.min.js → c-RHDOOQ4X.min.js} +1 -1
- package/dist/c-RZPP5ERV.min.js +1 -0
- package/dist/c-SG2Y7EBY.min.js +46 -0
- package/dist/{c-WUWXGQYA.min.js → c-SJIB5RNI.min.js} +1 -1
- package/dist/c-SQNEVNWT.min.js +1 -0
- package/dist/c-STHZWF3D.min.js +1 -0
- package/dist/c-TIDKVMMZ.min.js +1 -0
- package/dist/c-TIMGODBG.min.js +1 -0
- package/dist/c-TR7OHUAO.min.js +2 -0
- package/dist/c-TTKWXGAI.min.js +61 -0
- package/dist/c-TVKZC4BY.min.js +1 -0
- package/dist/c-U5XVLSHN.min.js +1 -0
- package/dist/c-U6NLVFN4.min.js +1 -0
- package/dist/{c-VJTDST2R.min.js → c-UBHICVSC.min.js} +1 -1
- package/dist/c-UOPPO26M.min.js +1 -0
- package/dist/c-UUDAON4Z.min.js +1 -0
- package/dist/c-V32TPPY2.min.js +1 -0
- package/dist/c-V5KFJWQQ.min.js +1 -0
- package/dist/{c-P65V6HLO.min.js → c-VN557BQE.min.js} +1 -1
- package/dist/c-VXIYF7V2.min.js +1 -0
- package/dist/c-Y342FJ6K.min.js +1 -0
- package/dist/c-YM6CT4LJ.min.js +1 -0
- package/dist/{c-MVR3RWF3.min.js → c-YMFUIO54.min.js} +1 -1
- package/dist/c-YQVOKPKR.min.js +1 -0
- package/dist/c-YRJ3BJQZ.min.js +1 -0
- package/dist/c-YT5KPVNP.min.js +1 -0
- package/dist/components/ai/audienceProfile.d.ts +18 -1
- package/dist/components/ai/describeChart.d.ts +5 -1
- package/dist/components/ai/intentManifest.d.ts +16 -0
- package/dist/components/ai/intentRegistry.d.ts +12 -0
- package/dist/components/ai/intents.d.ts +6 -6
- package/dist/components/ai/streamSchema.d.ts +19 -0
- package/dist/components/ai/streamingTypes.d.ts +57 -11
- package/dist/components/ai/suggestCharts.d.ts +1 -1
- package/dist/components/ai/suggestStreamCharts.d.ts +43 -8
- package/dist/components/ai/suggestStreamDashboard.d.ts +35 -0
- package/dist/components/ai/variantDiscovery.d.ts +1 -1
- package/dist/components/charts/ordinal/BarChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/ordinal/DonutChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/ordinal/GroupedBarChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/ordinal/PieChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/ordinal/StackedBarChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/realtime/RealtimeAccumulator.d.ts +14 -0
- package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +6 -5
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +5 -1
- package/dist/components/charts/realtime/RealtimeLineChart.d.ts +2 -161
- package/dist/components/charts/realtime/RealtimeLineChart.types.d.ts +175 -0
- package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +6 -5
- package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +6 -5
- package/dist/components/charts/realtime/aggregate.d.ts +11 -1
- package/dist/components/charts/realtime/resolveWindowSize.d.ts +1 -1
- package/dist/components/charts/shared/DirectLabelLayer.d.ts +25 -0
- package/dist/components/charts/shared/chartDataProps.d.ts +3 -0
- package/dist/components/charts/shared/chartSpecAtlasSchemas.d.ts +5 -0
- package/dist/components/charts/shared/chartSpecCore.d.ts +4 -0
- package/dist/components/charts/shared/chartSpecsAtlas.d.ts +2 -0
- package/dist/components/charts/shared/directLabels.d.ts +12 -0
- package/dist/components/charts/shared/hooks.d.ts +3 -1
- package/dist/components/charts/shared/knownChartComponents.d.ts +5 -2
- package/dist/components/charts/shared/lineSeriesSsr.d.ts +0 -12
- package/dist/components/charts/shared/useChartSetup.d.ts +2 -0
- package/dist/components/charts/value/BigNumber.streamCapability.d.ts +2 -0
- package/dist/components/charts/value/GaugeChart.streamCapability.d.ts +2 -0
- package/dist/components/charts/xy/BubbleChart.d.ts +4 -1
- package/dist/components/charts/xy/ConnectedScatterplot.d.ts +4 -1
- package/dist/components/charts/xy/LineChart.d.ts +4 -1
- package/dist/components/charts/xy/Scatterplot.d.ts +7 -0
- package/dist/components/realtime/HyperLogLog.d.ts +19 -0
- package/dist/components/realtime/ReorderBuffer.d.ts +2 -2
- package/dist/components/realtime/TDigest.d.ts +22 -0
- package/dist/components/realtime/WindowAccumulator.d.ts +22 -5
- package/dist/components/realtime/applyChangelog.d.ts +38 -0
- package/dist/components/realtime/minHeap.d.ts +3 -0
- package/dist/components/recipes/atlas/DependencyForestChart.d.ts +20 -0
- package/dist/components/recipes/atlas/DependencyMatrix.d.ts +7 -0
- package/dist/components/recipes/atlas/FlowCircuitChart.d.ts +20 -0
- package/dist/components/recipes/atlas/MotifBraidChart.d.ts +17 -0
- package/dist/components/recipes/atlas/atlasChartOptions.d.ts +11 -0
- package/dist/components/recipes/atlas/braid.d.ts +62 -0
- package/dist/components/recipes/atlas/capsules.d.ts +18 -0
- package/dist/components/recipes/atlas/compare.d.ts +4 -0
- package/dist/components/recipes/atlas/completeness.d.ts +2 -0
- package/dist/components/recipes/atlas/dependencyForest.d.ts +32 -0
- package/dist/components/recipes/atlas/dependencyForestChartProps.d.ts +58 -0
- package/dist/components/recipes/atlas/dependencyForestLayout.d.ts +17 -0
- package/dist/components/recipes/atlas/dependencyQueries.d.ts +20 -0
- package/dist/components/recipes/atlas/dependencyTypes.d.ts +21 -0
- package/dist/components/recipes/atlas/directedGraph.d.ts +9 -0
- package/dist/components/recipes/atlas/entityCounts.d.ts +3 -0
- package/dist/components/recipes/atlas/flowCircuit.d.ts +32 -0
- package/dist/components/recipes/atlas/flowCircuitChartProps.d.ts +72 -0
- package/dist/components/recipes/atlas/flowCircuitChrome.d.ts +18 -0
- package/dist/components/recipes/atlas/flowCircuitGeometry.d.ts +11 -0
- package/dist/components/recipes/atlas/flowCircuitLayout.d.ts +20 -0
- package/dist/components/recipes/atlas/flowCircuitSemantics.d.ts +26 -0
- package/dist/components/recipes/atlas/flowCircuitTape.d.ts +22 -0
- package/dist/components/recipes/atlas/flowCircuitTypes.d.ts +144 -0
- package/dist/components/recipes/atlas/forests.d.ts +11 -0
- package/dist/components/recipes/atlas/ids.d.ts +6 -0
- package/dist/components/recipes/atlas/index.d.ts +26 -0
- package/dist/components/recipes/atlas/ledger.d.ts +7 -0
- package/dist/components/recipes/atlas/motifBraidChartProps.d.ts +51 -0
- package/dist/components/recipes/atlas/motifBraidGeometry.d.ts +5 -0
- package/dist/components/recipes/atlas/motifBraidLayout.d.ts +11 -0
- package/dist/components/recipes/atlas/motifs.d.ts +3 -0
- package/dist/components/recipes/atlas/prefixForest.d.ts +9 -0
- package/dist/components/recipes/atlas/prepare.d.ts +14 -0
- package/dist/components/recipes/atlas/prepareAsync.d.ts +7 -0
- package/dist/components/recipes/atlas/profile.d.ts +19 -0
- package/dist/components/recipes/atlas/publish.d.ts +10 -0
- package/dist/components/recipes/atlas/queries.d.ts +34 -0
- package/dist/components/recipes/atlas/requiredPaths.d.ts +9 -0
- package/dist/components/recipes/atlas/rootedForest.d.ts +4 -0
- package/dist/components/recipes/atlas/sections.d.ts +3 -0
- package/dist/components/recipes/atlas/support.d.ts +7 -0
- package/dist/components/recipes/atlas/types.d.ts +278 -0
- package/dist/components/recipes/atlas/validate.d.ts +12 -0
- package/dist/components/recipes/layout1d.d.ts +2 -20
- package/dist/components/recipes/minGapPlacement.d.ts +20 -0
- package/dist/components/semiotic-ai-core.d.ts +8 -3
- package/dist/components/semiotic-ai-stream.d.ts +10 -0
- package/dist/components/semiotic-ai.d.ts +4 -6
- package/dist/components/semiotic-atlas-core.d.ts +20 -0
- package/dist/components/semiotic-atlas.d.ts +8 -0
- package/dist/components/semiotic-realtime-core.d.ts +6 -2
- package/dist/components/semiotic-recipes-core.d.ts +9 -0
- package/dist/components/semiotic-stream-types.d.ts +14 -0
- package/dist/components/semiotic-xy.d.ts +1 -0
- package/dist/components/semiotic.d.ts +3 -11
- package/dist/components/server/encodeSvgFramesToGif.d.ts +2 -0
- package/dist/components/server/rasterizeSVG.d.ts +2 -0
- package/dist/components/server/registerServerXYPlugins.d.ts +2 -0
- package/dist/components/server/renderEvidence.d.ts +4 -0
- package/dist/components/server/serverChartConfigs.d.ts +8 -0
- package/dist/components/server/serverChartConfigsAtlas.d.ts +4 -0
- package/dist/components/server/serverChartConfigsRealtime.d.ts +6 -0
- package/dist/components/server/serverRealtimeCategoryColors.d.ts +3 -0
- package/dist/components/server/staticAnnotations.d.ts +9 -0
- package/dist/components/stream/NetworkPipelineStore.d.ts +1 -0
- package/dist/components/stream/SceneGraph.d.ts +3 -3
- package/dist/components/stream/StalenessBadge.d.ts +5 -2
- package/dist/components/stream/canvasSetup.d.ts +1 -2
- package/dist/components/stream/fontLoading.d.ts +4 -0
- package/dist/components/stream/networkCustomLayout.d.ts +8 -0
- package/dist/components/stream/networkCustomLayoutCache.d.ts +12 -0
- package/dist/components/stream/networkPipelineConfig.d.ts +0 -7
- package/dist/components/stream/physics/physicsSemanticUI.d.ts +2 -0
- package/dist/components/stream/physics/usePhysicsCanvasPointer.d.ts +3 -1
- package/dist/components/stream/physics/usePhysicsSemanticNavigation.d.ts +2 -0
- package/dist/components/stream/pipelinePathJoin.d.ts +27 -0
- package/dist/components/stream/pipelineTransitionTypes.d.ts +43 -0
- package/dist/components/stream/pipelineTransitions.d.ts +5 -35
- package/dist/components/stream/seriesGeometry.d.ts +2 -1
- package/dist/components/stream/shallowEqual.d.ts +2 -0
- package/dist/components/stream/streamEncodingTypes.d.ts +9 -0
- package/dist/components/stream/types.d.ts +25 -2
- package/dist/components/stream/useEnsureCustomXYRenderers.d.ts +4 -2
- package/dist/components/text/axisLabelAssessment.d.ts +15 -0
- package/dist/components/text/browserAxisLabelAssessment.d.ts +1 -0
- package/dist/components/text/browserLabelMeasurement.d.ts +3 -0
- package/dist/components/text/labelMeasurement.d.ts +19 -0
- package/dist/components/text/labelPlacement.d.ts +71 -0
- package/dist/components/text/useAxisLabelAssessment.d.ts +6 -0
- package/dist/components/text/useLabelMeasurer.d.ts +3 -0
- package/dist/controls.module.min.js +71 -1
- package/dist/geo.min.js +231 -1
- package/dist/geo.module.min.js +31 -1
- package/dist/network.module.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.module.min.js +1 -1
- package/dist/rough.min.js +2 -1
- package/dist/rough.module.min.js +2 -1
- package/dist/semiotic-access.module.min.js +1 -1
- package/dist/semiotic-ai-artifact-policy-constants.module.min.js +1 -1
- package/dist/semiotic-ai-core.d.ts +8 -3
- package/dist/semiotic-ai-core.min.js +4 -1
- package/dist/semiotic-ai-core.module.min.js +4 -1
- package/dist/semiotic-ai-hash-primitives.module.min.js +1 -1
- package/dist/semiotic-ai.d.ts +4 -6
- package/dist/semiotic-ai.module.min.js +14 -1
- package/dist/semiotic-artifact-react.min.js +269 -1
- package/dist/semiotic-artifact-react.module.min.js +137 -1
- package/dist/semiotic-artifact.min.js +3 -1
- package/dist/semiotic-artifact.module.min.js +3 -1
- package/dist/semiotic-atlas-core.d.ts +20 -0
- package/dist/semiotic-atlas-core.min.js +2 -0
- package/dist/semiotic-atlas-core.module.min.js +1 -0
- package/dist/semiotic-atlas-selection.module.min.js +2 -0
- package/dist/semiotic-atlas.d.ts +8 -0
- package/dist/semiotic-atlas.min.js +2 -0
- package/dist/semiotic-atlas.module.min.js +12 -0
- package/dist/semiotic-client-cjs-shared.min.js +1529 -1
- package/dist/semiotic-client-glyph.module.min.js +3 -1
- package/dist/semiotic-client-responsive.module.min.js +1 -1
- package/dist/semiotic-client-shared.module.min.js +1 -1
- package/dist/semiotic-custom-layout-selection-cjs-shared.min.js +2 -1
- package/dist/semiotic-data.min.js +1 -1
- package/dist/semiotic-data.module.min.js +1 -1
- package/dist/semiotic-evidence.min.js +3 -1
- package/dist/semiotic-evidence.module.min.js +3 -1
- package/dist/semiotic-experimental-auxiliary.module.min.js +8 -1
- package/dist/semiotic-experimental-node-auxiliary.module.min.js +8 -1
- package/dist/semiotic-experimental-react-shared.module.min.js +1 -1
- package/dist/semiotic-experimental-vacp.min.js +1 -1
- package/dist/semiotic-experimental-vacp.module.min.js +1 -1
- package/dist/semiotic-line.module.min.js +1 -1
- package/dist/semiotic-realtime-core.d.ts +6 -2
- package/dist/semiotic-realtime-core.module.min.js +1 -1
- package/dist/semiotic-realtime-react.module.min.js +1 -1
- package/dist/semiotic-recipes-core-cjs-base.min.js +160 -1
- package/dist/semiotic-recipes-core.d.ts +9 -0
- package/dist/semiotic-recipes-core.module.min.js +72 -1
- package/dist/semiotic-recipes-geo-cjs.min.js +1 -1
- package/dist/semiotic-recipes-react.min.js +3 -1
- package/dist/semiotic-server-edge-node.module.min.js +391 -1
- package/dist/semiotic-server-edge.min.js +651 -1
- package/dist/semiotic-server-edge.module.min.js +372 -1
- package/dist/semiotic-server-node.min.js +651 -1
- package/dist/semiotic-server-node.module.min.js +1 -1
- package/dist/semiotic-text.min.js +1 -1
- package/dist/semiotic-text.module.min.js +1 -1
- package/dist/semiotic-themes-core.min.js +1 -1
- package/dist/semiotic-themes-core.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.min.js +11 -1
- package/dist/semiotic-utils-core.module.min.js +8 -1
- package/dist/semiotic-value.module.min.js +15 -1
- package/dist/semiotic-xy.d.ts +1 -0
- package/dist/semiotic.d.ts +3 -11
- package/dist/semiotic.module.min.js +10 -1
- package/dist/server.min.js +651 -1
- package/dist/server.module.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +19 -3
- package/dist/c-2N7IU2NY.min.js +0 -1
- package/dist/c-2WK7YJLL.min.js +0 -1
- package/dist/c-33QOXEUG.min.js +0 -1
- package/dist/c-447VIMRO.min.js +0 -1
- package/dist/c-4FN7Q6VQ.min.js +0 -1
- package/dist/c-553QUDKA.min.js +0 -1
- package/dist/c-55BAJ333.min.js +0 -1
- package/dist/c-7242NXSG.min.js +0 -1
- package/dist/c-7EGHJU2F.min.js +0 -1
- package/dist/c-7HP7MB2I.min.js +0 -1
- package/dist/c-7NBU5ZKS.min.js +0 -1
- package/dist/c-AFBSWT77.min.js +0 -1
- package/dist/c-AJ7EC32V.min.js +0 -1
- package/dist/c-AQADQNY7.min.js +0 -1
- package/dist/c-ATM475SA.min.js +0 -1
- package/dist/c-AVO3Q7T7.min.js +0 -1
- package/dist/c-AZKPVBOC.min.js +0 -1
- package/dist/c-BNFJMDHN.min.js +0 -1
- package/dist/c-BNG5ECK5.min.js +0 -1
- package/dist/c-BOHCQILI.min.js +0 -1
- package/dist/c-CCTGN5CK.min.js +0 -1
- package/dist/c-CPSPZH6A.min.js +0 -1
- package/dist/c-CPV4N35K.min.js +0 -1
- package/dist/c-DE5Q3U2X.min.js +0 -1
- package/dist/c-DK662R77.min.js +0 -1
- package/dist/c-DY2676CR.min.js +0 -1
- package/dist/c-E32M6XW5.min.js +0 -1
- package/dist/c-E4JDJH4I.min.js +0 -1
- package/dist/c-E7I2L7CU.min.js +0 -1
- package/dist/c-EBOQ7ER7.min.js +0 -1
- package/dist/c-ELDWAO2V.min.js +0 -1
- package/dist/c-EUBTECGM.min.js +0 -1
- package/dist/c-GSZRZRD6.min.js +0 -1
- package/dist/c-GWX7JGMF.min.js +0 -1
- package/dist/c-GXV3C3MO.min.js +0 -1
- package/dist/c-HHTK2R75.min.js +0 -1
- package/dist/c-HLLFJYTY.min.js +0 -1
- package/dist/c-HPOYKCCG.min.js +0 -1
- package/dist/c-HXDKPIKR.min.js +0 -1
- package/dist/c-I4QJ6YLM.min.js +0 -1
- package/dist/c-IDJV3CZK.min.js +0 -1
- package/dist/c-ITKX3RC5.min.js +0 -1
- package/dist/c-JG2JCQLP.min.js +0 -1
- package/dist/c-JLGRHXGZ.min.js +0 -1
- package/dist/c-JUKIWTBJ.min.js +0 -1
- package/dist/c-KCRJGUHP.min.js +0 -1
- package/dist/c-LMGSSD2E.min.js +0 -1
- package/dist/c-LYQMZMZQ.min.js +0 -1
- package/dist/c-LYVKDBQJ.min.js +0 -1
- package/dist/c-MXCP7GNZ.min.js +0 -1
- package/dist/c-NG7BLZTR.min.js +0 -1
- package/dist/c-NYZ2QNAM.min.js +0 -1
- package/dist/c-OO5QLMJC.min.js +0 -1
- package/dist/c-OOVX2JPQ.min.js +0 -1
- package/dist/c-PP6VY3QU.min.js +0 -1
- package/dist/c-PRIKOLTE.min.js +0 -1
- package/dist/c-PSNI6KAZ.min.js +0 -1
- package/dist/c-PYNW54D2.min.js +0 -1
- package/dist/c-QAVFOEUY.min.js +0 -1
- package/dist/c-ROEHCIGV.min.js +0 -1
- package/dist/c-S3AZX5PP.min.js +0 -1
- package/dist/c-T2V7O2LO.min.js +0 -1
- package/dist/c-TIXX5CAU.min.js +0 -1
- package/dist/c-TKG2NP7G.min.js +0 -1
- package/dist/c-VXLOLYTO.min.js +0 -1
- package/dist/c-W4ZUKSEQ.min.js +0 -1
- package/dist/c-WH2O53VI.min.js +0 -1
- package/dist/c-WNGH47HF.min.js +0 -1
- package/dist/c-XDQKXPX4.min.js +0 -1
- package/dist/c-XSB27XPS.min.js +0 -1
- package/dist/c-YDECTEUW.min.js +0 -1
- package/dist/c-YF3YKVQI.min.js +0 -1
- package/dist/c-YLZIV3VS.min.js +0 -1
- package/dist/c-ZYPXQF7B.min.js +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Datum } from "../charts/shared/datumTypes";
|
|
2
|
+
import type { RealtimeFrameHandle } from "./types";
|
|
3
|
+
export type ChangelogOp<T extends Datum = Datum> = {
|
|
4
|
+
op: "insert" | "upsert";
|
|
5
|
+
row: T;
|
|
6
|
+
id?: string;
|
|
7
|
+
} | {
|
|
8
|
+
op: "update";
|
|
9
|
+
row: T;
|
|
10
|
+
id?: string;
|
|
11
|
+
} | {
|
|
12
|
+
op: "delete" | "retract";
|
|
13
|
+
id?: string;
|
|
14
|
+
row?: T;
|
|
15
|
+
};
|
|
16
|
+
export interface ApplyChangelogOptions<T extends Datum = Datum> {
|
|
17
|
+
/** Identity field or accessor. Must match the chart's `pointIdAccessor`. */
|
|
18
|
+
key: string | ((row: T) => string);
|
|
19
|
+
/** Collapse the batch to the last op per key. Default true. */
|
|
20
|
+
coalesce?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface ApplyChangelogResult {
|
|
23
|
+
applied: number;
|
|
24
|
+
upserts: number;
|
|
25
|
+
retracts: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Map a Flink / Debezium / Kafka Streams changelog onto a realtime handle.
|
|
29
|
+
*
|
|
30
|
+
* Semantics:
|
|
31
|
+
* • `insert` / `upsert` / `update` — `update` when the id is already in
|
|
32
|
+
* the buffer, otherwise `push`.
|
|
33
|
+
* • `delete` / `retract` — `remove(id)`.
|
|
34
|
+
* • Batches coalesce by key (last op wins) unless `coalesce: false`.
|
|
35
|
+
*
|
|
36
|
+
* The chart must set `pointIdAccessor` to the same identity as `key`.
|
|
37
|
+
*/
|
|
38
|
+
export declare function applyChangelog<T extends Datum = Datum>(handle: Pick<RealtimeFrameHandle<T>, "push" | "pushMany" | "update" | "remove" | "getData">, events: ReadonlyArray<ChangelogOp<T>>, options: ApplyChangelogOptions<T>): ApplyChangelogResult;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** Array-backed heap operations shared by event ordering and window eviction. */
|
|
2
|
+
export declare function heapPush<T>(items: T[], item: T, compare: (a: T, b: T) => number): void;
|
|
3
|
+
export declare function heapPop<T>(items: T[], compare: (a: T, b: T) => number): T | undefined;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { dependencyForestChartProps, type DependencyForestChartProps } from "./dependencyForestChartProps";
|
|
3
|
+
export { dependencyForestChartProps };
|
|
4
|
+
export type { DependencyForestChartProps };
|
|
5
|
+
/**
|
|
6
|
+
* Dependency reader; graph preparation belongs outside the rendering callback.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* import { DependencyForestChart } from "semiotic/atlas"
|
|
10
|
+
* import { prepareDependencyForest } from "semiotic/atlas/core"
|
|
11
|
+
* const forest = prepareDependencyForest(atlas)
|
|
12
|
+
* <DependencyForestChart forest={forest} reading="required-paths" />
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* import { renderChartWithEvidence } from "semiotic/server"
|
|
16
|
+
* const { svg, evidence } = renderChartWithEvidence("DependencyForestChart", {
|
|
17
|
+
* forest, reading: "organize", title: "Original supply paths"
|
|
18
|
+
* })
|
|
19
|
+
*/
|
|
20
|
+
export declare function DependencyForestChart(props: DependencyForestChartProps): React.JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { type DependencyForestProjection } from "./dependencyForest";
|
|
3
|
+
export declare function DependencyMatrix({ forest, nodeIds, onSelectEdges }: {
|
|
4
|
+
forest: DependencyForestProjection;
|
|
5
|
+
nodeIds: string[];
|
|
6
|
+
onSelectEdges?: (ids: string[]) => void;
|
|
7
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { flowCircuitChartProps, type FlowCircuitChartProps } from "./flowCircuitChartProps";
|
|
3
|
+
export { flowCircuitChartProps };
|
|
4
|
+
export type { FlowCircuitChartProps };
|
|
5
|
+
/**
|
|
6
|
+
* Flow Circuit reader: replay/model state lives in its admitted upstream tape.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* import { FlowCircuitChart } from "semiotic/atlas"
|
|
10
|
+
* import { readCircuitEdition } from "semiotic/atlas/core"
|
|
11
|
+
* const reading = readCircuitEdition(edition, "observed-replay", 60)
|
|
12
|
+
* <FlowCircuitChart circuit={circuit} edition={edition} reading={reading} />
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* import { renderChartWithEvidence } from "semiotic/server"
|
|
16
|
+
* const { svg, evidence } = renderChartWithEvidence("FlowCircuitChart", {
|
|
17
|
+
* circuit, edition, reading, title: "Observed process", reducedMotion: true
|
|
18
|
+
* })
|
|
19
|
+
*/
|
|
20
|
+
export declare function FlowCircuitChart(props: FlowCircuitChartProps): React.JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type MotifBraidChartProps } from "./motifBraidChartProps";
|
|
2
|
+
export type { MotifBraidChartProps };
|
|
3
|
+
/**
|
|
4
|
+
* Motif Braid reader. Prepare the atlas outside this component.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* import { MotifBraidChart } from "semiotic/atlas"
|
|
8
|
+
* // atlas is admitted by prepareNetworkAtlas from semiotic/atlas/core.
|
|
9
|
+
* <MotifBraidChart atlas={atlas} title="Supported journeys" />
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* import { renderChartWithEvidence } from "semiotic/server"
|
|
13
|
+
* const { svg, evidence } = renderChartWithEvidence("MotifBraidChart", {
|
|
14
|
+
* atlas, title: "Journey steps", accessibleTable: true
|
|
15
|
+
* })
|
|
16
|
+
*/
|
|
17
|
+
export declare function MotifBraidChart(props: MotifBraidChartProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BaseChartProps } from "../../charts/shared/types";
|
|
2
|
+
/** Shared chart contracts retained by the public Atlas readers. */
|
|
3
|
+
export type AtlasChartOptions = Pick<BaseChartProps, "chartId" | "className" | "title" | "description" | "summary" | "accessibleTable" | "onObservation" | "linkedHover">;
|
|
4
|
+
/** Atlas views link on canonical vertices, not their distinct scene IDs. */
|
|
5
|
+
export declare function atlasLinkedHover(value: AtlasChartOptions["linkedHover"]): string | false | {
|
|
6
|
+
name?: string;
|
|
7
|
+
fields: string[];
|
|
8
|
+
mode?: "field" | "x-position" | "series";
|
|
9
|
+
xField?: string;
|
|
10
|
+
seriesField?: string;
|
|
11
|
+
} | undefined;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type MotifCapsule } from "./capsules";
|
|
2
|
+
import { assignedDenominator } from "./compare";
|
|
3
|
+
import { type MotifProfileStrip } from "./profile";
|
|
4
|
+
import type { PreparedNetworkAtlas, PrefixForest } from "./types";
|
|
5
|
+
export type TrajectoryGroup = {
|
|
6
|
+
id: string;
|
|
7
|
+
occurrenceId: string;
|
|
8
|
+
partition?: string;
|
|
9
|
+
nodePath: string[];
|
|
10
|
+
entityCount: number;
|
|
11
|
+
/** Traffic at each nodePath step; entityCount remains the cohort weight. */
|
|
12
|
+
stepEntityCounts?: number[];
|
|
13
|
+
/** Canonical escaped nodePath key produced by prepareMotifBraid. */
|
|
14
|
+
signature: string;
|
|
15
|
+
};
|
|
16
|
+
export type BraidRibbon = {
|
|
17
|
+
id: string;
|
|
18
|
+
groupId: string;
|
|
19
|
+
partition?: string;
|
|
20
|
+
fromPrefixId: string;
|
|
21
|
+
toPrefixId: string;
|
|
22
|
+
fromState: string;
|
|
23
|
+
toState: string;
|
|
24
|
+
entityCount: number;
|
|
25
|
+
/** Traffic at the destination step. Omit for a constant-width transition. */
|
|
26
|
+
toEntityCount?: number;
|
|
27
|
+
};
|
|
28
|
+
export type SignedReadout = {
|
|
29
|
+
motif: string;
|
|
30
|
+
leftPartition: string;
|
|
31
|
+
rightPartition: string;
|
|
32
|
+
leftCount: number;
|
|
33
|
+
rightCount: number;
|
|
34
|
+
deltaCount: number;
|
|
35
|
+
deltaBps: number;
|
|
36
|
+
denominator: number;
|
|
37
|
+
};
|
|
38
|
+
export type MotifBraidProjection = {
|
|
39
|
+
atlas: PreparedNetworkAtlas;
|
|
40
|
+
groups: TrajectoryGroup[];
|
|
41
|
+
signatureOrder: string[];
|
|
42
|
+
ribbons: BraidRibbon[];
|
|
43
|
+
capsules: MotifCapsule[];
|
|
44
|
+
profile: MotifProfileStrip;
|
|
45
|
+
differences: SignedReadout[];
|
|
46
|
+
prefixForest: PrefixForest;
|
|
47
|
+
sceneSeeds: {
|
|
48
|
+
nodes: Array<{
|
|
49
|
+
id: string;
|
|
50
|
+
partition?: string;
|
|
51
|
+
signature?: string;
|
|
52
|
+
}>;
|
|
53
|
+
edges: Array<{
|
|
54
|
+
id: string;
|
|
55
|
+
source: string;
|
|
56
|
+
target: string;
|
|
57
|
+
}>;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export declare function prepareMotifBraid(atlas: PreparedNetworkAtlas): MotifBraidProjection;
|
|
61
|
+
export declare function ribbonSupportsRoute(braid: MotifBraidProjection, route: readonly string[]): boolean;
|
|
62
|
+
export { assignedDenominator };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { MotifMatch, MotifTemplate } from "./types";
|
|
2
|
+
export type MotifCapsule = {
|
|
3
|
+
id: string;
|
|
4
|
+
matchId: string;
|
|
5
|
+
template: MotifTemplate;
|
|
6
|
+
entryState: string;
|
|
7
|
+
exitState: string;
|
|
8
|
+
entityCount: number;
|
|
9
|
+
occurrenceIds: string[];
|
|
10
|
+
selected: boolean;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Deterministic nonoverlapping layout capsules. Unselected overlapping matches
|
|
14
|
+
* stay in the match index; this choice must never change match counts.
|
|
15
|
+
*/
|
|
16
|
+
export declare function selectCapsules(matches: readonly MotifMatch[], options?: {
|
|
17
|
+
templates?: MotifTemplate[];
|
|
18
|
+
}): MotifCapsule[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { PreparedComparison, PreparedNetworkAtlas } from "./types";
|
|
2
|
+
export declare function buildComparison(atlas: PreparedNetworkAtlas): PreparedComparison | undefined;
|
|
3
|
+
export declare function assignedDenominator(atlas: PreparedNetworkAtlas, subjectId: string): number | undefined;
|
|
4
|
+
export declare function signedDifferenceBps(left: number, right: number, denominator: number): number;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { PreparedNetworkAtlas } from "./types";
|
|
2
|
+
/** Prepared once outside rendering. Layout choices cannot change atlas facts. */
|
|
3
|
+
export declare function prepareDependencyForest(atlas: PreparedNetworkAtlas, options?: {
|
|
4
|
+
rankingPolicyId?: "rooted-traversal:id-asc" | "rooted-traversal:id-desc";
|
|
5
|
+
}): {
|
|
6
|
+
order: string[];
|
|
7
|
+
children: {
|
|
8
|
+
[k: string]: string[];
|
|
9
|
+
};
|
|
10
|
+
components: string[][];
|
|
11
|
+
requiredChildren: {
|
|
12
|
+
[k: string]: string[];
|
|
13
|
+
};
|
|
14
|
+
sceneSeeds: {
|
|
15
|
+
nodes: import("./types").AtlasNode[];
|
|
16
|
+
edges: import("./types").AtlasEdge[];
|
|
17
|
+
};
|
|
18
|
+
forest: import("./types").DisplayForest;
|
|
19
|
+
residual: import("./types").OriginalEdgeIndex;
|
|
20
|
+
atlas: PreparedNetworkAtlas;
|
|
21
|
+
};
|
|
22
|
+
export type DependencyForestProjection = ReturnType<typeof prepareDependencyForest>;
|
|
23
|
+
export declare function branchMembers(projection: DependencyForestProjection, root: string): Set<string>;
|
|
24
|
+
export declare function requiredTargets(projection: DependencyForestProjection, root: string): string[];
|
|
25
|
+
/** Include all incident residual edges, including every branch-boundary tie. */
|
|
26
|
+
export declare function getBranchResidualConnections(projection: DependencyForestProjection, root: string): import("./types").AtlasEdge[];
|
|
27
|
+
/** Matrix cells retain parallel edges and self-loops by original ID. */
|
|
28
|
+
export declare function dependencyMatrix(projection: DependencyForestProjection, nodeIds: readonly string[]): {
|
|
29
|
+
source: string;
|
|
30
|
+
target: string;
|
|
31
|
+
edgeIds: string[];
|
|
32
|
+
}[];
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { type DependencyForestLayoutConfig } from "./dependencyForestLayout";
|
|
2
|
+
import { type AtlasChartOptions } from "./atlasChartOptions";
|
|
3
|
+
import type { NetworkCustomChartProps } from "../../charts/custom/NetworkCustomChart";
|
|
4
|
+
export type DependencyForestChartProps = DependencyForestLayoutConfig & AtlasChartOptions & {
|
|
5
|
+
width?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
annotations?: NetworkCustomChartProps["annotations"];
|
|
8
|
+
frameProps?: NetworkCustomChartProps["frameProps"];
|
|
9
|
+
linkedSelection?: Pick<NonNullable<NetworkCustomChartProps["selection"]>, "name">;
|
|
10
|
+
onSelectNode?: (id: string) => void;
|
|
11
|
+
};
|
|
12
|
+
/** Shared props for the React reader and the public SVG renderer. */
|
|
13
|
+
export declare function dependencyForestChartProps({ width, height, title, description, summary, accessibleTable, chartId, className, onObservation, linkedHover, linkedSelection, annotations, frameProps, onSelectNode: _onSelectNode, ...config }: DependencyForestChartProps): {
|
|
14
|
+
nodes: import("./types").AtlasNode[];
|
|
15
|
+
edges: import("./types").AtlasEdge[];
|
|
16
|
+
layout: import("../../semiotic-network").NetworkCustomLayout<DependencyForestLayoutConfig>;
|
|
17
|
+
layoutConfig: {
|
|
18
|
+
colors?: {
|
|
19
|
+
backbone?: string;
|
|
20
|
+
residual?: string;
|
|
21
|
+
required?: string;
|
|
22
|
+
};
|
|
23
|
+
forest: import("./dependencyForest").DependencyForestProjection;
|
|
24
|
+
reading?: "organize" | "required-paths";
|
|
25
|
+
selection?: import("./dependencyTypes").DependencySelection;
|
|
26
|
+
collapsedNodeIds?: string[];
|
|
27
|
+
highlightedEdgeIds?: string[];
|
|
28
|
+
};
|
|
29
|
+
nodeIDAccessor: string;
|
|
30
|
+
sourceAccessor: string;
|
|
31
|
+
targetAccessor: string;
|
|
32
|
+
width: number;
|
|
33
|
+
height: number;
|
|
34
|
+
title: string;
|
|
35
|
+
chartId: string | undefined;
|
|
36
|
+
className: string | undefined;
|
|
37
|
+
onObservation: import("../../semiotic-ai-observations").OnObservationCallback | undefined;
|
|
38
|
+
linkedHover: string | false | {
|
|
39
|
+
name?: string;
|
|
40
|
+
fields: string[];
|
|
41
|
+
mode?: "field" | "x-position" | "series";
|
|
42
|
+
xField?: string;
|
|
43
|
+
seriesField?: string;
|
|
44
|
+
} | undefined;
|
|
45
|
+
selection: Pick<import("../../semiotic").SelectionConfig, "name"> | undefined;
|
|
46
|
+
annotations: import("../../stream/networkColorAccessors").Datum[] | undefined;
|
|
47
|
+
frameProps: Partial<Omit<import("../../semiotic-network").StreamNetworkFrameProps<import("../../stream/networkColorAccessors").Datum>, "nodes" | "edges" | "size" | "chartType" | "customNetworkLayout" | "layoutConfig" | "layoutSelection">> | undefined;
|
|
48
|
+
animate: false;
|
|
49
|
+
margin: {
|
|
50
|
+
top: number;
|
|
51
|
+
right: number;
|
|
52
|
+
bottom: number;
|
|
53
|
+
left: number;
|
|
54
|
+
};
|
|
55
|
+
description: string;
|
|
56
|
+
summary: string;
|
|
57
|
+
accessibleTable: import("../../stream/accessibleTableTypes").AccessibleTableProp;
|
|
58
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { NetworkCustomLayout } from "../../stream/networkCustomLayout";
|
|
2
|
+
import { type DependencyForestProjection } from "./dependencyForest";
|
|
3
|
+
import type { DependencySelection } from "./dependencyTypes";
|
|
4
|
+
export type DependencyForestLayoutConfig = {
|
|
5
|
+
colors?: {
|
|
6
|
+
backbone?: string;
|
|
7
|
+
residual?: string;
|
|
8
|
+
required?: string;
|
|
9
|
+
};
|
|
10
|
+
forest: DependencyForestProjection;
|
|
11
|
+
reading?: "organize" | "required-paths";
|
|
12
|
+
selection?: DependencySelection;
|
|
13
|
+
collapsedNodeIds?: string[];
|
|
14
|
+
highlightedEdgeIds?: string[];
|
|
15
|
+
};
|
|
16
|
+
/** Sections and backbone order position nodes; every painted link is original. */
|
|
17
|
+
export declare const dependencyForestLayout: NetworkCustomLayout<DependencyForestLayoutConfig>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { StructuralPath } from "./dependencyTypes";
|
|
2
|
+
import type { PreparedNetworkAtlas, QueryResult } from "./types";
|
|
3
|
+
/** Ancestry is a derived relation, not a series of original transport edges. */
|
|
4
|
+
export declare function getRequiredPaths(atlas: PreparedNetworkAtlas, target: string): QueryResult<{
|
|
5
|
+
target: string;
|
|
6
|
+
reachable: boolean;
|
|
7
|
+
dominatorIds: string[];
|
|
8
|
+
}>;
|
|
9
|
+
/** Shortest admitted directed path; capacity is intentionally not an edge filter. */
|
|
10
|
+
export declare function getBypassWitness(atlas: PreparedNetworkAtlas, query: {
|
|
11
|
+
target: string;
|
|
12
|
+
avoiding: string[];
|
|
13
|
+
}): QueryResult<{
|
|
14
|
+
exists: boolean;
|
|
15
|
+
path?: StructuralPath;
|
|
16
|
+
}>;
|
|
17
|
+
/** Removal asks only which previously reachable vertices lose every path. */
|
|
18
|
+
export declare function getDependencyExclusion(atlas: PreparedNetworkAtlas, avoiding: string[]): QueryResult<{
|
|
19
|
+
lostNodeIds: string[];
|
|
20
|
+
}>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Only the full admitted directed relation layer is supported in NA3. */
|
|
2
|
+
export type RequiredPathsSpec = {
|
|
3
|
+
roots: string[];
|
|
4
|
+
relationScopeId: "directed-admitted";
|
|
5
|
+
};
|
|
6
|
+
export type DominatorResult = RequiredPathsSpec & {
|
|
7
|
+
status: "exact" | "incomplete";
|
|
8
|
+
/** null denotes ancestry through the analytical synthetic root, never an edge. */
|
|
9
|
+
immediateDominatorByNode: Record<string, string | null>;
|
|
10
|
+
reachableNodeIds: string[];
|
|
11
|
+
unreachableNodeIds: string[];
|
|
12
|
+
};
|
|
13
|
+
export type StructuralPath = {
|
|
14
|
+
nodeIds: string[];
|
|
15
|
+
edgeIds: string[];
|
|
16
|
+
};
|
|
17
|
+
export type DependencySelection = {
|
|
18
|
+
analysisRevision: string;
|
|
19
|
+
relationScopeId: "directed-admitted";
|
|
20
|
+
nodeId: string;
|
|
21
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AtlasEdge, NetworkAtlasSource } from "./types";
|
|
2
|
+
export declare function graphAdjacency(source: NetworkAtlasSource): {
|
|
3
|
+
outgoing: Map<string, AtlasEdge[]>;
|
|
4
|
+
incoming: Map<string, AtlasEdge[]>;
|
|
5
|
+
};
|
|
6
|
+
/** Iterative DFS avoids a JavaScript stack limit on deep dependency chains. */
|
|
7
|
+
export declare function postorder(adjacency: readonly number[][], roots: readonly number[]): number[];
|
|
8
|
+
/** SCC membership organizes feedback; it does not imply node-level dominance. */
|
|
9
|
+
export declare function stronglyConnectedComponents(source: NetworkAtlasSource): string[][];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { AtlasOccurrence, MotifMatch } from "./types";
|
|
2
|
+
/** Count each entity once across matching episodes, optionally within a partition. */
|
|
3
|
+
export declare function countMotifEntities(matches: readonly MotifMatch[], occurrences?: readonly AtlasOccurrence[], partition?: string | readonly string[]): number;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { PreparedNetworkAtlas, MotifMatch } from "./types";
|
|
2
|
+
import type { CircuitNodeSemantics, CircuitModuleKind, FlowCircuitProjection } from "./flowCircuitTypes";
|
|
3
|
+
/**
|
|
4
|
+
* Role-centered motif capsules own each canonical work node exactly once.
|
|
5
|
+
* All matches and every original port remain available, including overlaps.
|
|
6
|
+
* Admitted semantics select apparatus; topology alone cannot invent a queue,
|
|
7
|
+
* retry policy, prerequisite rule, or shared resource.
|
|
8
|
+
*/
|
|
9
|
+
export declare function prepareFlowCircuit(atlas: PreparedNetworkAtlas, semantics: readonly CircuitNodeSemantics[], options?: {
|
|
10
|
+
overlapPolicy?: "role-priority:id-asc";
|
|
11
|
+
rankingPolicyId?: "rooted-traversal:id-asc" | "rooted-traversal:id-desc";
|
|
12
|
+
}): FlowCircuitProjection;
|
|
13
|
+
export declare function explainCircuitModule(circuit: FlowCircuitProjection, nodeId: string): {
|
|
14
|
+
analysisRevision: string;
|
|
15
|
+
sourceRevision: string;
|
|
16
|
+
relationScopeId: string;
|
|
17
|
+
matches: MotifMatch[];
|
|
18
|
+
originalEdges: import("./types").AtlasEdge[];
|
|
19
|
+
limitations: string[];
|
|
20
|
+
id: string;
|
|
21
|
+
nodeId: string;
|
|
22
|
+
kind: CircuitModuleKind;
|
|
23
|
+
semantics: CircuitNodeSemantics;
|
|
24
|
+
selectedMatchId?: string;
|
|
25
|
+
relatedMatchIds: string[];
|
|
26
|
+
roles: MotifMatch["roles"];
|
|
27
|
+
ports: {
|
|
28
|
+
edgeId: string;
|
|
29
|
+
direction: "in" | "out";
|
|
30
|
+
endpointId: string;
|
|
31
|
+
}[];
|
|
32
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { type FlowCircuitLayoutConfig } from "./flowCircuitLayout";
|
|
2
|
+
import { type AtlasChartOptions } from "./atlasChartOptions";
|
|
3
|
+
import type { PhysicsCustomChartProps } from "../../charts/physics/PhysicsCustomChart";
|
|
4
|
+
import type { BaseChartProps } from "../../charts/shared/types";
|
|
5
|
+
export type FlowCircuitChartProps = FlowCircuitLayoutConfig & AtlasChartOptions & {
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
annotations?: PhysicsCustomChartProps["annotations"];
|
|
9
|
+
frameProps?: PhysicsCustomChartProps["frameProps"];
|
|
10
|
+
/** Named linked-view selection, separate from the local graph selection. */
|
|
11
|
+
linkedSelection?: Pick<NonNullable<BaseChartProps["selection"]>, "name">;
|
|
12
|
+
onSelectNode?: (id: string) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare function flowCircuitChartProps({ width, height, title, description, summary, accessibleTable, chartId, className, onObservation, linkedHover, annotations, frameProps, linkedSelection: _linkedSelection, onSelectNode: _onSelectNode, ...config }: FlowCircuitChartProps): {
|
|
15
|
+
key: string;
|
|
16
|
+
data: {
|
|
17
|
+
arrivals: number | null;
|
|
18
|
+
completions: number | null;
|
|
19
|
+
capacity: number | null;
|
|
20
|
+
queued: number | null;
|
|
21
|
+
status: import("./types").EvidenceStatus;
|
|
22
|
+
id: string;
|
|
23
|
+
nodeId: string;
|
|
24
|
+
kind: string;
|
|
25
|
+
moduleKind: import("./flowCircuitTypes").CircuitModuleKind;
|
|
26
|
+
label: string;
|
|
27
|
+
unit: import("./flowCircuitTypes").CircuitUnit;
|
|
28
|
+
sourceRevision: string;
|
|
29
|
+
analysisRevision: string;
|
|
30
|
+
relationScopeId: string;
|
|
31
|
+
editionId: string;
|
|
32
|
+
editionKind: "observed" | "modeled";
|
|
33
|
+
synthetic: boolean;
|
|
34
|
+
mode: import("./flowCircuitTypes").CircuitMode;
|
|
35
|
+
observedAt: number;
|
|
36
|
+
}[];
|
|
37
|
+
layout: import("../../semiotic-experimental").UnstablePhysicsCustomLayout<{
|
|
38
|
+
id: string;
|
|
39
|
+
}, FlowCircuitLayoutConfig>;
|
|
40
|
+
layoutConfig: {
|
|
41
|
+
layoutSelection?: import("../../semiotic-network").CustomLayoutSelection | null;
|
|
42
|
+
colors?: Partial<import("./flowCircuitChrome").CircuitColors>;
|
|
43
|
+
circuit: import("./flowCircuitTypes").FlowCircuitProjection;
|
|
44
|
+
edition: import("./flowCircuitTypes").CircuitEdition;
|
|
45
|
+
reading: import("./flowCircuitTypes").CircuitReading;
|
|
46
|
+
selection?: import("./flowCircuitTypes").CircuitSelection;
|
|
47
|
+
particleBudget?: number;
|
|
48
|
+
placementSeed?: number;
|
|
49
|
+
reducedMotion?: boolean;
|
|
50
|
+
highlightedEdgeIds?: string[];
|
|
51
|
+
};
|
|
52
|
+
width: number;
|
|
53
|
+
height: number;
|
|
54
|
+
chartId: string | undefined;
|
|
55
|
+
className: string | undefined;
|
|
56
|
+
onObservation: import("../../semiotic-ai-observations").OnObservationCallback | undefined;
|
|
57
|
+
linkedHover: string | false | {
|
|
58
|
+
name?: string;
|
|
59
|
+
fields: string[];
|
|
60
|
+
mode?: "field" | "x-position" | "series";
|
|
61
|
+
xField?: string;
|
|
62
|
+
seriesField?: string;
|
|
63
|
+
} | undefined;
|
|
64
|
+
annotations: import("../../stream/networkColorAccessors").Datum[] | undefined;
|
|
65
|
+
frameProps: Partial<Omit<import("../../semiotic-experimental").UnstableStreamPhysicsFrameProps, "size" | "config" | "initialSpawns" | "initialSpawnPacing">> | undefined;
|
|
66
|
+
paused: boolean;
|
|
67
|
+
title: string;
|
|
68
|
+
description: string;
|
|
69
|
+
summary: string;
|
|
70
|
+
accessibleTable: import("../../stream/accessibleTableTypes").AccessibleTableProp;
|
|
71
|
+
tooltip: false | (() => null);
|
|
72
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { ThemeSemanticColors } from "../../stream/types";
|
|
3
|
+
import type { CircuitGeometry, CircuitReading, CircuitEdition } from "./flowCircuitTypes";
|
|
4
|
+
export declare const circuitColors: {
|
|
5
|
+
observed: string;
|
|
6
|
+
modeled: string;
|
|
7
|
+
residual: string;
|
|
8
|
+
muted: string;
|
|
9
|
+
alarm: string;
|
|
10
|
+
};
|
|
11
|
+
export type CircuitColors = typeof circuitColors;
|
|
12
|
+
export declare function resolveCircuitColors(semantic: ThemeSemanticColors, colors?: Partial<CircuitColors>): CircuitColors;
|
|
13
|
+
export declare const circuitNumber: (value: number | null) => string;
|
|
14
|
+
export declare function circuitModuleChrome(geometry: CircuitGeometry, reading: CircuitReading, color: string, text: string, selected?: string, colors?: CircuitColors, nodeOpacity?: (id: string) => number): React.ReactSVGElement[];
|
|
15
|
+
export declare function circuitHistoryChrome(geometry: CircuitGeometry, edition: CircuitEdition, reading: CircuitReading, color: string, text: string, selected?: string): React.ReactElement<{
|
|
16
|
+
"data-circuit-history": string;
|
|
17
|
+
"data-history-module": string | undefined;
|
|
18
|
+
}, string | React.JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CircuitGeometry, FlowCircuitProjection } from "./flowCircuitTypes";
|
|
2
|
+
/** One geometry object owns the module, queue, sensor and original-edge routes. */
|
|
3
|
+
export declare function layoutFlowCircuit(circuit: FlowCircuitProjection, width: number, height: number): CircuitGeometry;
|
|
4
|
+
/** A bounded visual sample along an authored route, independent of its volume. */
|
|
5
|
+
export declare function circuitRoutePoint(points: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
}[], fraction: number): {
|
|
9
|
+
x: number;
|
|
10
|
+
y: number;
|
|
11
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PhysicsCustomLayout } from "../../charts/physics/PhysicsCustomChart";
|
|
2
|
+
import { type CircuitColors } from "./flowCircuitChrome";
|
|
3
|
+
import type { FlowCircuitProjection, CircuitEdition, CircuitReading, CircuitSelection } from "./flowCircuitTypes";
|
|
4
|
+
import type { CustomLayoutSelection } from "../../stream/customLayoutSelection";
|
|
5
|
+
export interface FlowCircuitLayoutConfig {
|
|
6
|
+
layoutSelection?: CustomLayoutSelection | null;
|
|
7
|
+
colors?: Partial<CircuitColors>;
|
|
8
|
+
circuit: FlowCircuitProjection;
|
|
9
|
+
edition: CircuitEdition;
|
|
10
|
+
reading: CircuitReading;
|
|
11
|
+
selection?: CircuitSelection;
|
|
12
|
+
particleBudget?: number;
|
|
13
|
+
placementSeed?: number;
|
|
14
|
+
reducedMotion?: boolean;
|
|
15
|
+
highlightedEdgeIds?: string[];
|
|
16
|
+
}
|
|
17
|
+
/** Fixed apparatus and source-backed chrome over the existing physics frame. */
|
|
18
|
+
export declare const flowCircuitLayout: PhysicsCustomLayout<{
|
|
19
|
+
id: string;
|
|
20
|
+
}, FlowCircuitLayoutConfig>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { PhysicsSemanticItem } from "../../stream/physics/StreamPhysicsTypes";
|
|
2
|
+
import type { CircuitEdition, CircuitGeometry, CircuitModule, CircuitReading, FlowCircuitProjection } from "./flowCircuitTypes";
|
|
3
|
+
/** Canonical identity and current tape values shared by pointer and keyboard readers. */
|
|
4
|
+
export declare function circuitModuleDatum(circuit: FlowCircuitProjection, edition: CircuitEdition, reading: CircuitReading, module: CircuitModule): {
|
|
5
|
+
arrivals: number | null;
|
|
6
|
+
completions: number | null;
|
|
7
|
+
capacity: number | null;
|
|
8
|
+
queued: number | null;
|
|
9
|
+
status: import("./types").EvidenceStatus;
|
|
10
|
+
id: string;
|
|
11
|
+
nodeId: string;
|
|
12
|
+
kind: string;
|
|
13
|
+
moduleKind: import("./flowCircuitTypes").CircuitModuleKind;
|
|
14
|
+
label: string;
|
|
15
|
+
unit: import("./flowCircuitTypes").CircuitUnit;
|
|
16
|
+
sourceRevision: string;
|
|
17
|
+
analysisRevision: string;
|
|
18
|
+
relationScopeId: string;
|
|
19
|
+
editionId: string;
|
|
20
|
+
editionKind: "observed" | "modeled";
|
|
21
|
+
synthetic: boolean;
|
|
22
|
+
mode: import("./flowCircuitTypes").CircuitMode;
|
|
23
|
+
observedAt: number;
|
|
24
|
+
};
|
|
25
|
+
/** Exact readings and original pipes remain available beyond decorative SVG chrome. */
|
|
26
|
+
export declare function circuitSemanticItems(circuit: FlowCircuitProjection, geometry: CircuitGeometry, edition: CircuitEdition, reading: CircuitReading): PhysicsSemanticItem[];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { CircuitEdition, CircuitMode, CircuitReading, FlowCircuitProjection, CircuitSelection } from "./flowCircuitTypes";
|
|
2
|
+
/** Validate identity, measurement domains and tape order before any playback. */
|
|
3
|
+
export declare function admitCircuitEdition(circuit: FlowCircuitProjection, edition: CircuitEdition): CircuitEdition;
|
|
4
|
+
/** A cursor reads the tape. It never integrates physics time or invents samples. */
|
|
5
|
+
export declare function readCircuitEdition(edition: CircuitEdition, mode: CircuitMode, time: number): CircuitReading;
|
|
6
|
+
export declare function exportCircuitEvidence(circuit: FlowCircuitProjection, edition: CircuitEdition, reading: CircuitReading, selection?: CircuitSelection): {
|
|
7
|
+
synthetic: boolean;
|
|
8
|
+
sourceRevision: string;
|
|
9
|
+
analysisRevision: string;
|
|
10
|
+
relationScopeId: string;
|
|
11
|
+
selection: CircuitSelection | undefined;
|
|
12
|
+
reading: CircuitReading;
|
|
13
|
+
edition: CircuitEdition;
|
|
14
|
+
overlapPolicy: "role-priority:id-asc";
|
|
15
|
+
modules: import("./flowCircuitTypes").CircuitModule[];
|
|
16
|
+
originalEdges: import("./types").AtlasEdge[];
|
|
17
|
+
backboneEdgeIds: string[];
|
|
18
|
+
residualEdgeIds: string[];
|
|
19
|
+
matches: import("./types").MotifMatch[];
|
|
20
|
+
requiredPaths: import("./dependencyTypes").DominatorResult | undefined;
|
|
21
|
+
limitations: string[];
|
|
22
|
+
};
|