semiotic 3.9.2 → 3.10.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 +97 -76
- package/agent-skill/semiotic-charts/SKILL.md +13 -7
- package/ai/artifact-contract-reference.md +408 -0
- package/ai/artifact-surface-inventory.json +5586 -0
- package/ai/behaviorContracts.cjs +24 -2
- package/ai/cli.js +480 -56
- package/ai/componentMetadata.cjs +3 -1
- package/ai/dist/mcp-server.js +68 -68
- package/ai/examples.md +68 -1
- package/ai/reference.md +105 -14
- package/ai/schema.json +6646 -18
- package/ai/surface-manifest.json +34 -6
- package/ai/system-prompt.md +2 -0
- package/ai/task-packets/compare-category-totals.json +301 -0
- package/ai/task-packets/compare-category-totals.md +188 -0
- package/ai/task-packets/correct-published-chart.json +271 -0
- package/ai/task-packets/correct-published-chart.md +597 -0
- package/ai/task-packets/index.json +40 -0
- package/ai/task-packets/update-live-chart.json +289 -0
- package/ai/task-packets/update-live-chart.md +424 -0
- package/dist/c-2N7IU2NY.min.js +1 -0
- package/dist/c-2RL2QPZJ.min.js +1 -0
- package/dist/c-2WK7YJLL.min.js +1 -0
- package/dist/c-42PLDTX7.min.js +1 -0
- package/dist/c-45CQWZZ6.min.js +1 -0
- package/dist/c-4BRHKVKV.min.js +1 -0
- package/dist/c-7242NXSG.min.js +1 -0
- package/dist/c-7DVPSB5C.min.js +1 -0
- package/dist/c-7EGHJU2F.min.js +1 -0
- package/dist/c-A7OGOFSL.min.js +1 -0
- package/dist/c-AFBSWT77.min.js +1 -0
- package/dist/c-AH5HWZWS.min.js +1 -0
- package/dist/c-AJ7EC32V.min.js +1 -0
- package/dist/c-AQADQNY7.min.js +1 -0
- package/dist/c-ATM475SA.min.js +1 -0
- package/dist/c-AVO3Q7T7.min.js +1 -0
- package/dist/c-B7GW7IHJ.min.js +1 -0
- package/dist/c-BNFJMDHN.min.js +1 -0
- package/dist/c-BOHCQILI.min.js +1 -0
- package/dist/c-C3TZLTZK.min.js +1 -0
- package/dist/c-CGQAQWBV.min.js +1 -0
- package/dist/c-CPV4N35K.min.js +1 -0
- package/dist/c-D6HAAPTX.min.js +1 -0
- package/dist/c-DIPEYUOW.min.js +1 -0
- package/dist/c-E4JDJH4I.min.js +1 -0
- package/dist/c-E72OTUZU.min.js +1 -0
- package/dist/c-E7I2L7CU.min.js +1 -0
- package/dist/c-ELDWAO2V.min.js +1 -0
- package/dist/c-EUBTECGM.min.js +1 -0
- package/dist/c-EUMPMDCS.min.js +1 -0
- package/dist/c-EZZT2WAE.min.js +1 -0
- package/dist/c-FHBVFCQB.min.js +1 -0
- package/dist/c-G4HCO2IQ.min.js +1 -0
- package/dist/c-G5VIJEOK.min.js +1 -0
- package/dist/c-GHVOXAYH.min.js +1 -0
- package/dist/c-GNTXRXRN.min.js +1 -0
- package/dist/c-GXV3C3MO.min.js +1 -0
- package/dist/c-HHTK2R75.min.js +1 -0
- package/dist/c-HLLFJYTY.min.js +1 -0
- package/dist/c-HP4ZFM47.min.js +1 -0
- package/dist/c-HPOYKCCG.min.js +1 -0
- package/dist/c-HYDTS5OP.min.js +1 -0
- package/dist/c-I4QJ6YLM.min.js +1 -0
- package/dist/c-IK33LNZ6.min.js +1 -0
- package/dist/c-IK3PZHRY.min.js +1 -0
- package/dist/c-J6DVC236.min.js +1 -0
- package/dist/c-JIMJF6F6.min.js +1 -0
- package/dist/c-JUKIWTBJ.min.js +1 -0
- package/dist/c-KKPMHAZC.min.js +1 -0
- package/dist/c-L6WNDBHV.min.js +1 -0
- package/dist/c-LDEX5OFW.min.js +1 -0
- package/dist/c-LESEUVC5.min.js +1 -0
- package/dist/c-LYQMZMZQ.min.js +1 -0
- package/dist/c-MB6CV5NC.min.js +1 -0
- package/dist/c-MOKJOIPE.min.js +1 -0
- package/dist/c-MVR3RWF3.min.js +1 -0
- package/dist/c-N3FXLRNT.min.js +1 -0
- package/dist/c-N5NPTJVJ.min.js +1 -0
- package/dist/c-NHBL4J67.min.js +1 -0
- package/dist/c-ODG6TFSY.min.js +1 -0
- package/dist/c-ORLEBW72.min.js +1 -0
- package/dist/c-P65V6HLO.min.js +1 -0
- package/dist/c-PRIKOLTE.min.js +1 -0
- package/dist/c-PSKKFZNP.min.js +1 -0
- package/dist/c-PSNI6KAZ.min.js +1 -0
- package/dist/c-QA3HMQJP.min.js +1 -0
- package/dist/c-R2P4RR7Q.min.js +1 -0
- package/dist/c-RFC7UAG7.min.js +1 -0
- package/dist/c-S3AZX5PP.min.js +1 -0
- package/dist/c-SGAURYHG.min.js +1 -0
- package/dist/c-SJMWU6UX.min.js +1 -0
- package/dist/c-STIIGQOD.min.js +1 -0
- package/dist/c-T2ASIJVZ.min.js +1 -0
- package/dist/c-T2V7O2LO.min.js +1 -0
- package/dist/c-TKG2NP7G.min.js +1 -0
- package/dist/c-TX3THUTO.min.js +1 -0
- package/dist/c-TX7XJM3Z.min.js +1 -0
- package/dist/c-UC7SIU2W.min.js +1 -0
- package/dist/c-UMXSJIOV.min.js +1 -0
- package/dist/c-VJTDST2R.min.js +1 -0
- package/dist/c-VRSXMLYF.min.js +1 -0
- package/dist/c-VSLWSAN2.min.js +1 -0
- package/dist/c-VXLOLYTO.min.js +1 -0
- package/dist/c-W4ZUKSEQ.min.js +1 -0
- package/dist/c-WCBRPILW.min.js +1 -0
- package/dist/c-WGHT7OCY.min.js +1 -0
- package/dist/c-WUWXGQYA.min.js +1 -0
- package/dist/c-WWCW3APR.min.js +1 -0
- package/dist/{c-CKLIFCGN.min.js → c-XSB27XPS.min.js} +1 -1
- package/dist/c-Y6PYUMFU.min.js +1 -0
- package/dist/c-YDECTEUW.min.js +1 -0
- package/dist/c-YF3YKVQI.min.js +1 -0
- package/dist/c-YLZIV3VS.min.js +1 -0
- package/dist/c-ZIVPFTOC.min.js +1 -0
- package/dist/components/Annotation.d.ts +2 -1
- package/dist/components/ai/chartRecipeRegistry.d.ts +6 -1
- package/dist/components/ai/chartRecipes.d.ts +4 -0
- package/dist/components/ai/describePhysicsProjection.d.ts +18 -0
- package/dist/components/ai/describePhysicsSource.d.ts +13 -0
- package/dist/components/artifact/ArtifactInspector.d.ts +26 -0
- package/dist/components/artifact/ArtifactInspectorContextSections.d.ts +18 -0
- package/dist/components/artifact/artifactContractDiff.d.ts +8 -0
- package/dist/components/artifact/artifactInspectorSummary.d.ts +53 -0
- package/dist/components/artifact/artifactRevision.d.ts +54 -0
- package/dist/components/artifact/artifactTestFixtures.d.ts +17 -0
- package/dist/components/artifact/attachmentAudit.d.ts +13 -0
- package/dist/components/artifact/claimCorrections.d.ts +3 -0
- package/dist/components/artifact/claimGraph.d.ts +5 -0
- package/dist/components/artifact/claimLifecycle.d.ts +32 -0
- package/dist/components/artifact/claims.d.ts +24 -0
- package/dist/components/artifact/collection.d.ts +10 -0
- package/dist/components/artifact/collectionCorrectionScope.d.ts +4 -0
- package/dist/components/artifact/collectionImpact.d.ts +11 -0
- package/dist/components/artifact/collectionLineage.d.ts +3 -0
- package/dist/components/artifact/collectionOperations.d.ts +8 -0
- package/dist/components/artifact/collectionPolicy.d.ts +22 -0
- package/dist/components/artifact/collectionTypes.d.ts +117 -0
- package/dist/components/artifact/configurationRepair.d.ts +8 -0
- package/dist/components/artifact/contract.d.ts +30 -0
- package/dist/components/artifact/evaluateArtifact.d.ts +12 -0
- package/dist/components/artifact/evaluateArtifactTypes.d.ts +78 -0
- package/dist/components/artifact/evaluationPresentation.d.ts +9 -0
- package/dist/components/artifact/evidenceSample.d.ts +8 -0
- package/dist/components/artifact/exportPaths.d.ts +8 -0
- package/dist/components/artifact/fieldPolicies.d.ts +12 -0
- package/dist/components/artifact/fingerprint.d.ts +36 -0
- package/dist/components/artifact/grounding.d.ts +51 -0
- package/dist/components/artifact/groundingBudget.d.ts +38 -0
- package/dist/components/artifact/hostTransfer.d.ts +13 -0
- package/dist/components/artifact/identity.d.ts +19 -0
- package/dist/components/artifact/inheritance.d.ts +48 -0
- package/dist/components/artifact/inheritanceIntegrity.d.ts +3 -0
- package/dist/components/artifact/jsonCompatibility.d.ts +2 -0
- package/dist/components/artifact/obligations.d.ts +3 -0
- package/dist/components/artifact/policies.d.ts +45 -0
- package/dist/components/artifact/policyRelations.d.ts +3 -0
- package/dist/components/artifact/recordProjection.d.ts +7 -0
- package/dist/components/artifact/representation.d.ts +50 -0
- package/dist/components/artifact/serialization.d.ts +40 -0
- package/dist/components/artifact/temporal.d.ts +32 -0
- package/dist/components/artifact/temporalAdapters.d.ts +75 -0
- package/dist/components/artifact/temporalAuditHelpers.d.ts +12 -0
- package/dist/components/artifact/temporalPresentation.d.ts +8 -0
- package/dist/components/artifact/types.d.ts +341 -0
- package/dist/components/artifact/validation.d.ts +13 -0
- package/dist/components/artifact/validationFieldStatus.d.ts +7 -0
- package/dist/components/artifact/validationPrimitives.d.ts +24 -0
- package/dist/components/artifact/validationSurfaces.d.ts +7 -0
- package/dist/components/artifact/validationTemporal.d.ts +3 -0
- package/dist/components/charts/geo/FlowMap.d.ts +7 -0
- package/dist/components/charts/geo/flowMapLineStyle.d.ts +18 -0
- package/dist/components/charts/ordinal/DonutChart.d.ts +2 -0
- package/dist/components/charts/ordinal/FunnelChart.d.ts +2 -0
- package/dist/components/charts/ordinal/GroupedBarChart.d.ts +6 -0
- package/dist/components/charts/ordinal/PieChart.d.ts +2 -0
- package/dist/components/charts/ordinal/RadarChart.d.ts +2 -0
- package/dist/components/charts/ordinal/StackedBarChart.d.ts +6 -0
- package/dist/components/charts/physics/CollisionSwarmChart.d.ts +1 -1
- package/dist/components/charts/physics/EventDropChart.d.ts +3 -1
- package/dist/components/charts/physics/GaltonBoardChart.d.ts +4 -2
- package/dist/components/charts/physics/ProcessFlowChart.d.ts +6 -0
- package/dist/components/charts/physics/UnitPileChart.d.ts +2 -1
- package/dist/components/charts/physics/collisionSwarmPacking.d.ts +14 -0
- package/dist/components/charts/physics/collisionSwarmPhysics.d.ts +1 -0
- package/dist/components/charts/physics/eventDropAdmission.d.ts +32 -0
- package/dist/components/charts/physics/eventDropPhysics.d.ts +22 -1
- package/dist/components/charts/physics/galtonBoardPhysics.d.ts +2 -9
- package/dist/components/charts/physics/physicsChartReconcile.d.ts +4 -0
- package/dist/components/charts/physics/physicsChartUtils.d.ts +1 -1
- package/dist/components/charts/physics/physicsGaltonData.d.ts +10 -0
- package/dist/components/charts/physics/physicsHocHandle.d.ts +2 -0
- package/dist/components/charts/physics/physicsPileData.d.ts +11 -0
- package/dist/components/charts/physics/physicsPilePhysics.d.ts +5 -12
- package/dist/components/charts/physics/physicsProjectionOverlays.d.ts +1 -1
- package/dist/components/charts/physics/physicsSourceRows.d.ts +8 -0
- package/dist/components/charts/physics/usePhysicsChartData.d.ts +19 -0
- package/dist/components/charts/realtime/RealtimeHeatmap.d.ts +4 -0
- package/dist/components/charts/realtime/RealtimeHistogram.d.ts +14 -6
- package/dist/components/charts/realtime/RealtimeLineChart.d.ts +4 -0
- package/dist/components/charts/realtime/RealtimeSwarmChart.d.ts +4 -0
- package/dist/components/charts/realtime/RealtimeWaterfallChart.d.ts +4 -0
- package/dist/components/charts/realtime/realtimeAccessors.d.ts +4 -0
- package/dist/components/charts/realtime/realtimeChartRuntime.d.ts +8 -7
- package/dist/components/charts/realtime/realtimeChartTypes.d.ts +7 -0
- package/dist/components/charts/realtime/temporalHistogramConfig.d.ts +17 -11
- package/dist/components/charts/shared/GaugeReadout.d.ts +9 -0
- package/dist/components/charts/shared/ThresholdAnnotation.d.ts +18 -0
- package/dist/components/charts/shared/ThresholdEndCap.d.ts +7 -0
- package/dist/components/charts/shared/auditAccessibilityText.d.ts +4 -2
- 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/hooks.d.ts +3 -1
- package/dist/components/charts/shared/knownChartComponents.d.ts +1 -1
- package/dist/components/charts/shared/numericTickFormatter.d.ts +2 -0
- package/dist/components/charts/shared/radialCenterContent.d.ts +10 -0
- package/dist/components/charts/shared/tooltipUtils.d.ts +1 -1
- package/dist/components/charts/shared/useChartLegend.d.ts +4 -0
- package/dist/components/charts/shared/useXYPointStyle.d.ts +2 -0
- package/dist/components/charts/xy/BubbleChart.d.ts +7 -0
- package/dist/components/charts/xy/CandlestickChart.d.ts +7 -0
- package/dist/components/charts/xy/DifferenceChart.d.ts +7 -0
- package/dist/components/charts/xy/MinimapChart.d.ts +7 -0
- package/dist/components/charts/xy/MultiAxisLineChart.d.ts +7 -0
- package/dist/components/charts/xy/ScatterplotMatrix.d.ts +6 -0
- package/dist/components/charts/xy/WaterfallChart.d.ts +8 -0
- package/dist/components/charts/xy/differenceMarkStyle.d.ts +28 -0
- package/dist/components/charts/xy/multiAxisFields.d.ts +23 -0
- package/dist/components/charts/xy/scatterplotMatrixCells.d.ts +50 -0
- package/dist/components/evidence/chartEvidenceEnvelope.d.ts +16 -8
- package/dist/components/evidence/evidenceEnvelopeInput.d.ts +8 -0
- package/dist/components/evidence/evidenceEnvelopeValidation.d.ts +11 -0
- package/dist/components/evidence/evidenceGate.d.ts +3 -1
- package/dist/components/evidence/renderedSceneHash.d.ts +23 -0
- package/dist/components/evidence/stableJsonHash.d.ts +4 -0
- package/dist/components/export/chartConfig.d.ts +40 -5
- package/dist/components/export/chartConfigArtifact.d.ts +6 -0
- package/dist/components/legendLayout.d.ts +18 -0
- package/dist/components/legendStyles.d.ts +4 -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/firstAvailableTrack.d.ts +17 -0
- package/dist/components/recipes/intervals.d.ts +1 -1
- package/dist/components/semiotic-ai-core.d.ts +33 -22
- package/dist/components/semiotic-ai.d.ts +15 -3
- package/dist/components/semiotic-artifact-react.d.ts +10 -0
- package/dist/components/semiotic-artifact.d.ts +23 -0
- package/dist/components/semiotic-atlas-core.d.ts +20 -0
- package/dist/components/semiotic-atlas.d.ts +8 -0
- package/dist/components/semiotic-experimental.d.ts +1 -1
- package/dist/components/semiotic-physics.d.ts +4 -4
- package/dist/components/semiotic-recipes-core.d.ts +9 -0
- package/dist/components/semiotic-text.d.ts +2 -0
- package/dist/components/semiotic-utils-core.d.ts +18 -18
- package/dist/components/semiotic.d.ts +3 -3
- package/dist/components/server/renderEvidence.d.ts +12 -0
- package/dist/components/server/renderToStaticSVG.d.ts +3 -0
- package/dist/components/server/serverChartConfigs.d.ts +3 -0
- package/dist/components/server/serverChartConfigsAtlas.d.ts +4 -0
- package/dist/components/server/staticSVGChrome.d.ts +1 -4
- package/dist/components/server/staticXYAxisTicks.d.ts +2 -38
- package/dist/components/server/staticXYGrid.d.ts +1 -1
- package/dist/components/server/svgSizing.d.ts +6 -0
- package/dist/components/shared/svgRoot.d.ts +17 -0
- package/dist/components/store/selectionProvenance.d.ts +6 -0
- package/dist/components/stream/GeoSVGOverlay.d.ts +4 -0
- package/dist/components/stream/NetworkPipelineStore.d.ts +1 -0
- package/dist/components/stream/NetworkSVGOverlay.d.ts +4 -0
- package/dist/components/stream/OrdinalSVGOverlay.d.ts +4 -0
- package/dist/components/stream/SVGOverlay.d.ts +4 -0
- package/dist/components/stream/SceneToSVG.d.ts +4 -19
- package/dist/components/stream/SceneToSVGXY.d.ts +13 -0
- package/dist/components/stream/StreamGeoFrame.d.ts +1 -2
- package/dist/components/stream/StreamOrdinalFrame.d.ts +1 -2
- package/dist/components/stream/XYGrid.d.ts +11 -0
- package/dist/components/stream/axisTickUtils.d.ts +0 -1
- package/dist/components/stream/canvasSetup.d.ts +1 -2
- package/dist/components/stream/fontLoading.d.ts +4 -0
- package/dist/components/stream/hitTestUtils.d.ts +2 -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/overlayAccessibleText.d.ts +18 -0
- package/dist/components/stream/physics/PhysicsControllers.d.ts +1 -1
- package/dist/components/stream/physics/PhysicsKernel.d.ts +9 -0
- package/dist/components/stream/physics/PhysicsPipelineStore.d.ts +5 -4
- package/dist/components/stream/physics/PhysicsPipelineTypes.d.ts +9 -0
- package/dist/components/stream/physics/StreamPhysicsTypes.d.ts +3 -0
- package/dist/components/stream/physics/physicsCanvasCoordinates.d.ts +5 -0
- package/dist/components/stream/physics/physicsFixedPosition.d.ts +16 -0
- package/dist/components/stream/physics/physicsKernelCloning.d.ts +6 -0
- package/dist/components/stream/physics/physicsPipelineObservations.d.ts +2 -0
- package/dist/components/stream/physics/physicsPipelineSettle.d.ts +15 -9
- package/dist/components/stream/physics/physicsRegionRuntime.d.ts +8 -17
- package/dist/components/stream/physics/physicsSemanticUI.d.ts +11 -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/pipelineConfig.d.ts +4 -0
- package/dist/components/stream/pipelineStoreUpdateResults.d.ts +1 -1
- package/dist/components/stream/resolveXYAxes.d.ts +13 -0
- package/dist/components/stream/sceneToSVGShared.d.ts +2 -1
- package/dist/components/stream/seriesGeometry.d.ts +13 -0
- package/dist/components/stream/shallowEqual.d.ts +2 -0
- package/dist/components/stream/streamEncodingTypes.d.ts +53 -0
- package/dist/components/stream/types.d.ts +4 -53
- package/dist/components/stream/useEnsureCustomXYRenderers.d.ts +4 -2
- package/dist/components/stream/useGeoFrameHandle.d.ts +16 -0
- package/dist/components/stream/useOrdinalFrameHandle.d.ts +15 -0
- package/dist/components/stream/useXYFrameHandle.d.ts +15 -0
- package/dist/components/stream/xyAxisTicks.d.ts +25 -0
- package/dist/components/stream/xyDateTicks.d.ts +3 -2
- package/dist/components/stream/xyFrameAxisTypes.d.ts +2 -0
- package/dist/components/stream/xySceneBuilders/ribbonScene.d.ts +1 -1
- package/dist/components/stream/xySceneBuilders/types.d.ts +1 -0
- package/dist/components/text/annotationTextLayout.d.ts +28 -0
- package/dist/components/text/pretextAnnotationLayout.d.ts +29 -0
- package/dist/components/text/usePretextAnnotations.d.ts +12 -0
- package/dist/controls.module.min.js +1 -1
- package/dist/geo.min.js +1 -1
- package/dist/geo.module.min.js +1 -1
- package/dist/network.module.min.js +1 -1
- package/dist/ordinal.module.min.js +1 -1
- package/dist/physics-matter.min.js +1 -1
- package/dist/physics-matter.module.min.js +1 -1
- package/dist/physics-rapier.min.js +1 -1
- package/dist/physics-rapier.module.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/rough.min.js +1 -1
- package/dist/rough.module.min.js +1 -1
- package/dist/semiotic-access.module.min.js +1 -1
- package/dist/semiotic-ai-artifact-policy-constants.module.min.js +2 -0
- package/dist/semiotic-ai-core.d.ts +33 -22
- package/dist/semiotic-ai-core.min.js +1 -1
- package/dist/semiotic-ai-core.module.min.js +1 -1
- package/dist/semiotic-ai-hash-primitives.module.min.js +2 -0
- package/dist/semiotic-ai.d.ts +15 -3
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-artifact-react.d.ts +10 -0
- package/dist/semiotic-artifact-react.min.js +2 -0
- package/dist/semiotic-artifact-react.module.min.js +2 -0
- package/dist/semiotic-artifact.d.ts +23 -0
- package/dist/semiotic-artifact.min.js +1 -0
- package/dist/semiotic-artifact.module.min.js +1 -0
- package/dist/semiotic-atlas-core.d.ts +20 -0
- package/dist/semiotic-atlas-core.min.js +1 -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 +2 -0
- package/dist/semiotic-client-cjs-shared.min.js +1 -1
- package/dist/semiotic-client-glyph.module.min.js +1 -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 +1 -1
- package/dist/semiotic-data.min.js +1 -1
- package/dist/semiotic-data.module.min.js +1 -1
- package/dist/semiotic-evidence.min.js +1 -1
- package/dist/semiotic-evidence.module.min.js +1 -1
- package/dist/semiotic-experimental-auxiliary.module.min.js +1 -1
- package/dist/semiotic-experimental-node-auxiliary.module.min.js +1 -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-experimental.d.ts +1 -1
- package/dist/semiotic-line.module.min.js +1 -1
- package/dist/semiotic-physics.d.ts +4 -4
- 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 +1 -1
- package/dist/semiotic-recipes-core.d.ts +9 -0
- package/dist/semiotic-recipes-core.module.min.js +1 -1
- package/dist/semiotic-recipes-geo-cjs.min.js +1 -1
- package/dist/semiotic-recipes-react.min.js +1 -1
- package/dist/semiotic-server-edge-node.module.min.js +1 -1
- 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-text.d.ts +2 -0
- package/dist/semiotic-text.min.js +2 -0
- package/dist/semiotic-text.module.min.js +2 -0
- 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.d.ts +18 -18
- package/dist/semiotic-utils-core.min.js +1 -1
- package/dist/semiotic-utils-core.module.min.js +1 -1
- package/dist/semiotic-value.module.min.js +1 -1
- package/dist/semiotic.d.ts +3 -3
- 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.module.min.js +1 -1
- package/package.json +70 -14
- package/spec/README.md +8 -3
- package/spec/v0.1/artifact-contract.schema.json +2299 -0
- package/spec/v0.1/examples/artifact-contract-full.json +369 -0
- package/spec/v0.1/examples/artifact-contract-unknown-state.json +46 -0
- package/dist/c-3BLJEQNG.min.js +0 -1
- package/dist/c-3SCUN5HI.min.js +0 -1
- package/dist/c-3VVKFA4M.min.js +0 -1
- package/dist/c-43TJZS3F.min.js +0 -1
- package/dist/c-4DTZPSUD.min.js +0 -1
- package/dist/c-4ES5367Y.min.js +0 -1
- package/dist/c-52TEGIUJ.min.js +0 -1
- package/dist/c-54IRWOGM.min.js +0 -1
- package/dist/c-5D2S4RMI.min.js +0 -1
- package/dist/c-5JWCTX3G.min.js +0 -1
- package/dist/c-6CMMSN6N.min.js +0 -1
- package/dist/c-6HRB2L7H.min.js +0 -1
- package/dist/c-6O5EVOPH.min.js +0 -1
- package/dist/c-7W4SV36A.min.js +0 -1
- package/dist/c-A4WRGZFX.min.js +0 -1
- package/dist/c-AG7WWVIH.min.js +0 -1
- package/dist/c-AH6J4MTN.min.js +0 -1
- package/dist/c-AKAF6JAD.min.js +0 -1
- package/dist/c-ALYR5LKK.min.js +0 -1
- package/dist/c-BBKITSXB.min.js +0 -1
- package/dist/c-BYDPC44I.min.js +0 -1
- package/dist/c-CFFIU2MW.min.js +0 -1
- package/dist/c-CGNHBHCE.min.js +0 -1
- package/dist/c-CJYSXIFV.min.js +0 -1
- package/dist/c-CZF7MV67.min.js +0 -1
- package/dist/c-D53OKBSY.min.js +0 -1
- package/dist/c-DADXPJXV.min.js +0 -1
- package/dist/c-DBQ2V7CH.min.js +0 -1
- package/dist/c-DPMVAUAW.min.js +0 -1
- package/dist/c-ECJCKLYY.min.js +0 -1
- package/dist/c-EGATGOWJ.min.js +0 -1
- package/dist/c-EGR6VYBW.min.js +0 -1
- package/dist/c-ESNR43AN.min.js +0 -1
- package/dist/c-F3LIKINL.min.js +0 -1
- package/dist/c-F5ZB5GJ6.min.js +0 -1
- package/dist/c-G36WS6LN.min.js +0 -1
- package/dist/c-G3VYMHKE.min.js +0 -1
- package/dist/c-GGISSW5E.min.js +0 -1
- package/dist/c-GR6MOEQC.min.js +0 -1
- package/dist/c-GSVCN34B.min.js +0 -1
- package/dist/c-GYOQCEFP.min.js +0 -1
- package/dist/c-H3DNMTCC.min.js +0 -1
- package/dist/c-I6J3FEZE.min.js +0 -1
- package/dist/c-IGH6MGJ5.min.js +0 -1
- package/dist/c-II2EEAJN.min.js +0 -1
- package/dist/c-IUHFPMHD.min.js +0 -1
- package/dist/c-J6M4JHRS.min.js +0 -1
- package/dist/c-JM3MGLQV.min.js +0 -1
- package/dist/c-KM3N7F7R.min.js +0 -1
- package/dist/c-LF5BZFNC.min.js +0 -1
- package/dist/c-LKBSGFQC.min.js +0 -1
- package/dist/c-MNF2S4AA.min.js +0 -1
- package/dist/c-MT3WBK7M.min.js +0 -1
- package/dist/c-NDJADPIF.min.js +0 -1
- package/dist/c-NVPQCIL5.min.js +0 -1
- package/dist/c-NY3JWV2K.min.js +0 -1
- package/dist/c-OFWJBEE5.min.js +0 -1
- package/dist/c-OYFHP5F5.min.js +0 -1
- package/dist/c-PGKQGGQ2.min.js +0 -1
- package/dist/c-PPWDL5ZI.min.js +0 -1
- package/dist/c-Q2IPZ3MU.min.js +0 -1
- package/dist/c-QKHMBE2E.min.js +0 -1
- package/dist/c-QMVM3AY6.min.js +0 -1
- package/dist/c-QSGWX53A.min.js +0 -1
- package/dist/c-RJKEKZOO.min.js +0 -1
- package/dist/c-RSVIHIQ4.min.js +0 -1
- package/dist/c-S6U5CGT5.min.js +0 -1
- package/dist/c-SFDIIU5G.min.js +0 -1
- package/dist/c-SLGMUBUL.min.js +0 -1
- package/dist/c-SRTBCRVE.min.js +0 -1
- package/dist/c-T6UAIKBH.min.js +0 -1
- package/dist/c-TMCTEVVW.min.js +0 -1
- package/dist/c-TMOSJLT3.min.js +0 -1
- package/dist/c-TZW3JGJ5.min.js +0 -1
- package/dist/c-U6ESPM7V.min.js +0 -1
- package/dist/c-UC5PTTFI.min.js +0 -1
- package/dist/c-USFMFKIH.min.js +0 -1
- package/dist/c-VGKUEZBC.min.js +0 -1
- package/dist/c-VGW3VG3I.min.js +0 -1
- package/dist/c-VN2HG5BS.min.js +0 -1
- package/dist/c-VPZDY5Q4.min.js +0 -1
- package/dist/c-VRXUB2F2.min.js +0 -1
- package/dist/c-VUBQNQJH.min.js +0 -1
- package/dist/c-VUH4PGZY.min.js +0 -1
- package/dist/c-W3CE4A4S.min.js +0 -1
- package/dist/c-X5UBGU2V.min.js +0 -1
- package/dist/c-XDRV7RKW.min.js +0 -1
- package/dist/c-YGZHURXZ.min.js +0 -1
- package/dist/c-YZVRZGX2.min.js +0 -1
- /package/dist/{c-N4G2L7ID.min.js → c-HYW2XA4Q.min.js} +0 -0
- /package/dist/{c-ENF72HU5.min.js → c-QAVFOEUY.min.js} +0 -0
- /package/dist/{c-OCI56QF2.min.js → c-V4XMSLC3.min.js} +0 -0
|
@@ -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" | "initialSpawnPacing" | "config" | "initialSpawns">> | 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
|
+
};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import type { PreparedNetworkAtlas, MotifMatch, EvidenceStatus } from "./types";
|
|
2
|
+
export type CircuitUnit = "records" | "roots" | "attempts";
|
|
3
|
+
export type CircuitMode = "observed-snapshot" | "observed-replay" | "modeled-scenario";
|
|
4
|
+
export type CircuitModuleKind = "stage" | "distributor" | "queue" | "retry" | "join-all" | "selector" | "dependency" | "junction";
|
|
5
|
+
export interface CircuitNodeSemantics {
|
|
6
|
+
nodeId: string;
|
|
7
|
+
label: string;
|
|
8
|
+
unit: CircuitUnit;
|
|
9
|
+
routing?: string;
|
|
10
|
+
queueDiscipline?: "fifo";
|
|
11
|
+
retryPolicy?: string;
|
|
12
|
+
join?: {
|
|
13
|
+
kind: "all" | "first-success";
|
|
14
|
+
memberNodeIds: string[];
|
|
15
|
+
};
|
|
16
|
+
dependencyNodeIds?: string[];
|
|
17
|
+
}
|
|
18
|
+
/** Null is unmeasured. A zero is an admitted observation, never a fallback. */
|
|
19
|
+
export interface CircuitNodeReading {
|
|
20
|
+
arrivals: number | null;
|
|
21
|
+
completions: number | null;
|
|
22
|
+
capacity: number | null;
|
|
23
|
+
queued: number | null;
|
|
24
|
+
status: EvidenceStatus;
|
|
25
|
+
}
|
|
26
|
+
export interface CircuitFlow {
|
|
27
|
+
edgeId: string;
|
|
28
|
+
perSecond: number | null;
|
|
29
|
+
unit: CircuitUnit;
|
|
30
|
+
}
|
|
31
|
+
export interface CircuitTotals {
|
|
32
|
+
arrivals: number | null;
|
|
33
|
+
completions: number | null;
|
|
34
|
+
capacity: number | null;
|
|
35
|
+
queued: number | null;
|
|
36
|
+
roots: number | null;
|
|
37
|
+
attempts: number | null;
|
|
38
|
+
retries: number | null;
|
|
39
|
+
successes: number | null;
|
|
40
|
+
errors: number | null;
|
|
41
|
+
}
|
|
42
|
+
/** An aggregate observation event. No individual service times are implied. */
|
|
43
|
+
export interface CircuitTapeEntry {
|
|
44
|
+
id: string;
|
|
45
|
+
at: number;
|
|
46
|
+
nodes: Record<string, CircuitNodeReading>;
|
|
47
|
+
flows: CircuitFlow[];
|
|
48
|
+
totals: CircuitTotals;
|
|
49
|
+
}
|
|
50
|
+
export interface CircuitEdition {
|
|
51
|
+
id: string;
|
|
52
|
+
synthetic: boolean;
|
|
53
|
+
sourceRevision: string;
|
|
54
|
+
analysisRevision: string;
|
|
55
|
+
kind: "observed" | "modeled";
|
|
56
|
+
label: string;
|
|
57
|
+
unit: CircuitUnit;
|
|
58
|
+
timing: "aggregate-intervals" | "incomplete";
|
|
59
|
+
individualTimings: "unavailable";
|
|
60
|
+
entries: CircuitTapeEntry[];
|
|
61
|
+
assumptions: string[];
|
|
62
|
+
evidenceRefs: string[];
|
|
63
|
+
model?: {
|
|
64
|
+
id: string;
|
|
65
|
+
observedEditionId: string;
|
|
66
|
+
assumptions: Record<string, number | string>;
|
|
67
|
+
guardrails: {
|
|
68
|
+
label: string;
|
|
69
|
+
status: "pass" | "fail" | "unverified";
|
|
70
|
+
detail: string;
|
|
71
|
+
}[];
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export interface CircuitModule {
|
|
75
|
+
id: string;
|
|
76
|
+
nodeId: string;
|
|
77
|
+
kind: CircuitModuleKind;
|
|
78
|
+
semantics: CircuitNodeSemantics;
|
|
79
|
+
/** Capsules own their role node; neighbors remain canonical port references. */
|
|
80
|
+
selectedMatchId?: string;
|
|
81
|
+
relatedMatchIds: string[];
|
|
82
|
+
roles: MotifMatch["roles"];
|
|
83
|
+
ports: {
|
|
84
|
+
edgeId: string;
|
|
85
|
+
direction: "in" | "out";
|
|
86
|
+
endpointId: string;
|
|
87
|
+
}[];
|
|
88
|
+
}
|
|
89
|
+
export interface FlowCircuitProjection {
|
|
90
|
+
atlas: PreparedNetworkAtlas;
|
|
91
|
+
overlapPolicy: "role-priority:id-asc";
|
|
92
|
+
modules: CircuitModule[];
|
|
93
|
+
matches: MotifMatch[];
|
|
94
|
+
order: string[];
|
|
95
|
+
backboneEdgeIds: string[];
|
|
96
|
+
residualEdgeIds: string[];
|
|
97
|
+
}
|
|
98
|
+
export interface CircuitSelection {
|
|
99
|
+
analysisRevision: string;
|
|
100
|
+
nodeId: string;
|
|
101
|
+
relationScopeId: "directed-admitted";
|
|
102
|
+
}
|
|
103
|
+
export interface CircuitReading {
|
|
104
|
+
editionId: string;
|
|
105
|
+
kind: CircuitEdition["kind"];
|
|
106
|
+
mode: CircuitMode;
|
|
107
|
+
requestedTime: number;
|
|
108
|
+
observedAt: number;
|
|
109
|
+
entry: CircuitTapeEntry;
|
|
110
|
+
status: "exact" | "incomplete";
|
|
111
|
+
}
|
|
112
|
+
export interface CircuitBox {
|
|
113
|
+
x: number;
|
|
114
|
+
y: number;
|
|
115
|
+
width: number;
|
|
116
|
+
height: number;
|
|
117
|
+
}
|
|
118
|
+
export interface CircuitModuleRegion extends CircuitBox {
|
|
119
|
+
module: CircuitModule;
|
|
120
|
+
queue: CircuitBox;
|
|
121
|
+
sensor: CircuitBox;
|
|
122
|
+
}
|
|
123
|
+
export interface CircuitRoute {
|
|
124
|
+
edgeId: string;
|
|
125
|
+
source: string;
|
|
126
|
+
target: string;
|
|
127
|
+
residual: boolean;
|
|
128
|
+
points: {
|
|
129
|
+
x: number;
|
|
130
|
+
y: number;
|
|
131
|
+
}[];
|
|
132
|
+
pathD: string;
|
|
133
|
+
}
|
|
134
|
+
export interface CircuitGeometry {
|
|
135
|
+
width: number;
|
|
136
|
+
height: number;
|
|
137
|
+
sections: {
|
|
138
|
+
id: string;
|
|
139
|
+
x: number;
|
|
140
|
+
}[];
|
|
141
|
+
modules: CircuitModuleRegion[];
|
|
142
|
+
routes: CircuitRoute[];
|
|
143
|
+
history: CircuitBox;
|
|
144
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { DisplayForest, NetworkAtlasSource, NetworkAtlasSpec, OriginalEdgeIndex } from "./types";
|
|
2
|
+
export type ForestClassification = {
|
|
3
|
+
forest: DisplayForest;
|
|
4
|
+
residual: OriginalEdgeIndex;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Rooted display backbone. Residual means not chosen for this drawing,
|
|
8
|
+
* not unimportant. Motifs must already have been detected on the full graph.
|
|
9
|
+
*/
|
|
10
|
+
export declare function classifyForest(spec: NetworkAtlasSpec, source: NetworkAtlasSource): ForestClassification;
|
|
11
|
+
export declare function assertEdgeCoverage(residual: OriginalEdgeIndex, forest: DisplayForest): void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** Prototype-safe dictionaries so author ids such as `__proto__` stay data. */
|
|
2
|
+
export declare function hasOwn(record: object, key: string): boolean;
|
|
3
|
+
export declare function ownValue<T>(record: Record<string, T>, key: string): T | undefined;
|
|
4
|
+
export declare function setOwnValue<T>(record: Record<string, T>, key: string, value: T): void;
|
|
5
|
+
export declare function idDictionary<T>(): Record<string, T>;
|
|
6
|
+
export declare function prefixIdFor(path: readonly string[], depth: number): string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export { NETWORK_ATLAS_SCHEMA_VERSION, MOTIF_CATALOG_TEMPLATES, PHASE1_MOTIF_MATCHERS, PHASE2_MOTIF_MATCHERS } from "./types";
|
|
2
|
+
export type { NetworkAtlasSpec, NetworkAtlasSource, PreparedNetworkAtlas, MotifTemplate, QueryResult, PrefixForest } from "./types";
|
|
3
|
+
export { validateAtlas, measuresAreComparable } from "./validate";
|
|
4
|
+
export { buildSections } from "./sections";
|
|
5
|
+
export { buildLedger, ledgerValue } from "./ledger";
|
|
6
|
+
export { matchMotifs } from "./motifs";
|
|
7
|
+
export { classifyForest, assertEdgeCoverage } from "./forests";
|
|
8
|
+
export { buildPrefixForest } from "./prefixForest";
|
|
9
|
+
export { selectCapsules } from "./capsules";
|
|
10
|
+
export { buildComparison, assignedDenominator, signedDifferenceBps } from "./compare";
|
|
11
|
+
export { buildMotifProfile } from "./profile";
|
|
12
|
+
export { prepareNetworkAtlas } from "./prepare";
|
|
13
|
+
export { prepareNetworkAtlasAsync } from "./prepareAsync";
|
|
14
|
+
export type { PrepareResult, PrepareOptions } from "./prepare";
|
|
15
|
+
export { getSectionMeasures, getMotifPrevalence, getMotifWitness, followSupportedRoute, getResidualConnections, uniqueEntityCount } from "./queries";
|
|
16
|
+
export { publishPreparedAtlas } from "./publish";
|
|
17
|
+
export type { AtlasPublicationStore } from "./publish";
|
|
18
|
+
export { prepareMotifBraid, ribbonSupportsRoute } from "./braid";
|
|
19
|
+
export type { MotifBraidProjection, TrajectoryGroup, BraidRibbon, SignedReadout } from "./braid";
|
|
20
|
+
export { motifBraidLayout } from "./motifBraidLayout";
|
|
21
|
+
export type { MotifBraidLayoutConfig } from "./motifBraidLayout";
|
|
22
|
+
export { prepareDependencyForest, dependencyMatrix, getBranchResidualConnections } from "./dependencyForest";
|
|
23
|
+
export { getRequiredPaths, getBypassWitness, getDependencyExclusion } from "./dependencyQueries";
|
|
24
|
+
export { dependencyForestLayout } from "./dependencyForestLayout";
|
|
25
|
+
export type { DependencyForestProjection } from "./dependencyForest";
|
|
26
|
+
export type { DependencySelection, DominatorResult, RequiredPathsSpec } from "./dependencyTypes";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { LedgerEntry, MeasureLedger, NetworkAtlasSource, NetworkAtlasSpec, SectionIndex } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Independent measure ledger. Does not call ProcessSankey inventoryAtTime
|
|
4
|
+
* and does not require inbound mass to equal outbound mass.
|
|
5
|
+
*/
|
|
6
|
+
export declare function buildLedger(spec: NetworkAtlasSpec, source: NetworkAtlasSource, sections: SectionIndex): MeasureLedger;
|
|
7
|
+
export declare function ledgerValue(ledger: MeasureLedger, measureId: string, subjectId: string): LedgerEntry | undefined;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { NetworkCustomChartProps } from "../../charts/custom/NetworkCustomChart";
|
|
2
|
+
import { type AtlasChartOptions } from "./atlasChartOptions";
|
|
3
|
+
import type { PreparedNetworkAtlas } from "./types";
|
|
4
|
+
export type MotifBraidChartProps = AtlasChartOptions & {
|
|
5
|
+
atlas: PreparedNetworkAtlas;
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
colorScheme?: NetworkCustomChartProps["colorScheme"];
|
|
9
|
+
selection?: NetworkCustomChartProps["selection"];
|
|
10
|
+
onClick?: NetworkCustomChartProps["onClick"];
|
|
11
|
+
annotations?: NetworkCustomChartProps["annotations"];
|
|
12
|
+
frameProps?: NetworkCustomChartProps["frameProps"];
|
|
13
|
+
};
|
|
14
|
+
/** Shared client/static reader contract; atlas analysis precedes rendering. */
|
|
15
|
+
export declare function motifBraidChartProps({ atlas, linkedHover, ...props }: MotifBraidChartProps, braid?: import("./braid").MotifBraidProjection): {
|
|
16
|
+
linkedHover: string | false | {
|
|
17
|
+
name?: string;
|
|
18
|
+
fields: string[];
|
|
19
|
+
mode?: "field" | "x-position" | "series";
|
|
20
|
+
xField?: string;
|
|
21
|
+
seriesField?: string;
|
|
22
|
+
} | undefined;
|
|
23
|
+
title: string;
|
|
24
|
+
description: string;
|
|
25
|
+
summary: string;
|
|
26
|
+
accessibleTable: import("../../stream/accessibleTableTypes").AccessibleTableProp;
|
|
27
|
+
nodes: {
|
|
28
|
+
id: string;
|
|
29
|
+
partition?: string;
|
|
30
|
+
signature?: string;
|
|
31
|
+
}[];
|
|
32
|
+
edges: {
|
|
33
|
+
id: string;
|
|
34
|
+
source: string;
|
|
35
|
+
target: string;
|
|
36
|
+
}[];
|
|
37
|
+
layout: import("../../semiotic-network").NetworkCustomLayout<import("./motifBraidLayout").MotifBraidLayoutConfig>;
|
|
38
|
+
layoutConfig: {
|
|
39
|
+
braid: import("./braid").MotifBraidProjection;
|
|
40
|
+
};
|
|
41
|
+
chartId?: string | undefined;
|
|
42
|
+
onObservation?: import("../../semiotic-ai-observations").OnObservationCallback | undefined;
|
|
43
|
+
className?: string | undefined;
|
|
44
|
+
width?: number;
|
|
45
|
+
height?: number;
|
|
46
|
+
colorScheme?: NetworkCustomChartProps["colorScheme"];
|
|
47
|
+
selection?: NetworkCustomChartProps["selection"];
|
|
48
|
+
onClick?: NetworkCustomChartProps["onClick"];
|
|
49
|
+
annotations?: NetworkCustomChartProps["annotations"];
|
|
50
|
+
frameProps?: NetworkCustomChartProps["frameProps"];
|
|
51
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type TransitDiagramPoint as Point } from "../transitDiagramGeometry";
|
|
2
|
+
/** A filled outline whose width interpolates along the rounded centerline. */
|
|
3
|
+
export declare function taperedBraidPath(points: readonly Point[], startWidth: number, endWidth: number): string;
|
|
4
|
+
/** Allocate stable lanes from peak widths so loss alone never bends a strand. */
|
|
5
|
+
export declare function packBraidLanes(widths: number[]): number[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { NetworkCustomLayout } from "../../stream/networkCustomLayout";
|
|
2
|
+
import type { MotifBraidProjection } from "./braid";
|
|
3
|
+
export type MotifBraidLayoutConfig = {
|
|
4
|
+
braid: MotifBraidProjection;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Depth-aligned prefix steps with one labeled square per vertex visit. Each
|
|
8
|
+
* journey keeps its own lane through shared steps and splits only when its
|
|
9
|
+
* prefix diverges. Width interpolates between the two supplied step counts.
|
|
10
|
+
*/
|
|
11
|
+
export declare const motifBraidLayout: NetworkCustomLayout<MotifBraidLayoutConfig>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type MotifMatch, type MotifMatchIndex, type NetworkAtlasSource, type NetworkAtlasSpec } from "./types";
|
|
2
|
+
export declare function matchMotifs(spec: NetworkAtlasSpec, source: NetworkAtlasSource): MotifMatchIndex;
|
|
3
|
+
export declare function operationalLabel(_match: MotifMatch): undefined;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AtlasOccurrence, PrefixForest } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Observed prefix forest from admitted journeys. Identifiers are full prefixes,
|
|
4
|
+
* so two groups that share a state name with different histories stay distinct.
|
|
5
|
+
*/
|
|
6
|
+
export declare function buildPrefixForest(occurrences: readonly AtlasOccurrence[], options?: {
|
|
7
|
+
referencePartition?: string;
|
|
8
|
+
}): PrefixForest;
|
|
9
|
+
export { prefixIdFor } from "./ids";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AtlasIssue, NetworkAtlasSource, NetworkAtlasSpec, PreparedNetworkAtlas } from "./types";
|
|
2
|
+
export type PrepareOptions = {
|
|
3
|
+
generation?: number;
|
|
4
|
+
};
|
|
5
|
+
export type PrepareResult = {
|
|
6
|
+
ok: true;
|
|
7
|
+
atlas: PreparedNetworkAtlas;
|
|
8
|
+
issues: AtlasIssue[];
|
|
9
|
+
} | {
|
|
10
|
+
ok: false;
|
|
11
|
+
atlas?: undefined;
|
|
12
|
+
issues: AtlasIssue[];
|
|
13
|
+
};
|
|
14
|
+
export declare function prepareNetworkAtlas(spec: NetworkAtlasSpec, source: NetworkAtlasSource, options?: PrepareOptions): PrepareResult;
|