@graphty/graphty-element 2.2.5 → 2.3.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/dist/ai.js +115 -222
- package/dist/catalog.js +56 -55
- package/dist/chunks/{AiManager-Bd_r1Hei.js → AiManager-BBmGJbH4.js} +793 -654
- package/dist/chunks/{DataSource-Dag8H5US.js → DataSource-OeN3NeyD.js} +1 -1
- package/dist/chunks/{GraphSession-mfo75G0q.js → GraphSession-Bef1AYw9.js} +2136 -2104
- package/dist/chunks/{GraphStyle-D0PXnZKu.js → GraphStyle-Cwr55SAE.js} +5 -2
- package/dist/chunks/{VoiceInputAdapter-DszYl6Ha.js → VoiceInputAdapter-Dr9Gcmds.js} +1 -1
- package/dist/chunks/{XRPivotCameraController-BdoMFcON.js → XRPivotCameraController-BbfgZWpS.js} +1 -1
- package/dist/chunks/algorithms-CpX56sUB.js +3482 -0
- package/dist/chunks/{capability-check-CdoqmrF0.js → capability-check-Blhb2aBB.js} +1 -1
- package/dist/chunks/{detect-LAOOaxY_.js → detect-Cqwshr9a.js} +1 -1
- package/dist/chunks/{format-detection-a0bD5PIB.js → format-detection-BXGO1lSn.js} +1 -1
- package/dist/chunks/{index-BY1gnMiZ.js → index-C0mIoumR.js} +2258 -2129
- package/dist/chunks/optionsFromZod-17lkrAJs.js +2565 -0
- package/dist/chunks/paletteRegistry-x7WOEKZY.js +1153 -0
- package/dist/chunks/scales-BRwl51k8.js +3047 -0
- package/dist/custom-elements.json +1 -1
- package/dist/extend.js +42 -42
- package/dist/graphty-catalog.json +1 -1
- package/dist/graphty.bundle.js +25816 -25456
- package/dist/graphty.js +29 -29
- package/dist/schema.js +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/session.js +28 -29
- package/dist/src/Graph.d.ts +33 -3
- package/dist/src/algorithms/metrics/context.d.ts +7 -5
- package/dist/src/algorithms/results/types.d.ts +17 -1
- package/dist/src/camera/builtins.d.ts +14 -1
- package/dist/src/camera/types.d.ts +7 -0
- package/dist/src/cameras/CameraManager.d.ts +13 -0
- package/dist/src/cameras/OrbitCameraController.d.ts +9 -0
- package/dist/src/catalog/types.d.ts +10 -0
- package/dist/src/config/GraphStyle.d.ts +5 -1
- package/dist/src/config/StyleTemplate.d.ts +2 -2
- package/dist/src/graphty-element.d.ts +11 -6
- package/dist/src/managers/StylePainter.d.ts +9 -0
- package/dist/src/managers/UpdateManager.d.ts +5 -0
- package/dist/src/session/results/index.d.ts +1 -1
- package/dist/src/session/results/statistics.d.ts +8 -1
- package/dist/src/session/results/types.d.ts +33 -0
- package/dist/src/session/selection/targets.d.ts +4 -1
- package/dist/src/session/styles/predicate.d.ts +26 -1
- package/dist/src/session/styles/repaint.d.ts +11 -0
- package/dist/src/session/styles/selector.d.ts +13 -1
- package/dist/src/session/styles/sources.d.ts +9 -0
- package/package.json +1 -1
- package/dist/chunks/Algorithm-RQ629NLb.js +0 -494
- package/dist/chunks/cameras-ii4vngYY.js +0 -435
- package/dist/chunks/paletteRegistry-YSpPryiT.js +0 -3164
- package/dist/chunks/scales-DOpwlWuz.js +0 -6086
|
@@ -33,8 +33,11 @@ const l = o.strictObject({
|
|
|
33
33
|
addDefaultStyle: o.boolean().default(!0),
|
|
34
34
|
background: i.prefault({ backgroundType: "color", color: "whitesmoke" }),
|
|
35
35
|
selection: t.optional(),
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
/**
|
|
37
|
+
* How far the camera starts from the graph, in scene units. Set, it places the camera and
|
|
38
|
+
* turns off the element's automatic zoom-to-fit; unset, the graph is framed to fit.
|
|
39
|
+
*/
|
|
40
|
+
startingCameraDistance: o.number().optional(),
|
|
38
41
|
layout: o.string().optional(),
|
|
39
42
|
// No default - let Graph constructor set the default
|
|
40
43
|
layoutOptions: o.looseObject({}).optional(),
|
package/dist/chunks/{XRPivotCameraController-BdoMFcON.js → XRPivotCameraController-BbfgZWpS.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Vector3 as f, Quaternion as E, Ray as R, WebXRState as T } from "@babylonjs/core";
|
|
2
|
-
import { P as M } from "./index-
|
|
2
|
+
import { P as M } from "./index-C0mIoumR.js";
|
|
3
3
|
import "@babylonjs/core/Culling/ray";
|
|
4
4
|
import { G as x } from "./GraphtyLogger-5KEttFUo.js";
|
|
5
5
|
function v(H, t = 0.15) {
|