@omiron33/omi-neuron-web 0.2.26 → 0.2.27
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/{NeuronWebExplorer-C7WGF5kT.d.cts → NeuronWebExplorer-D-bJXVVx.d.cts} +2 -1
- package/dist/{NeuronWebExplorer-BBTb828y.d.ts → NeuronWebExplorer-Dm5Lwa1O.d.ts} +2 -1
- package/dist/{chunk-QKCKZYLH.js → chunk-S5KMHLNT.js} +3 -2
- package/dist/chunk-S5KMHLNT.js.map +1 -0
- package/dist/{chunk-RCLZFQVX.cjs → chunk-U7P5KX4U.cjs} +3 -2
- package/dist/chunk-U7P5KX4U.cjs.map +1 -0
- package/dist/index.cjs +17 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/visualization/index.cjs +16 -16
- package/dist/visualization/index.d.cts +2 -2
- package/dist/visualization/index.d.ts +2 -2
- package/dist/visualization/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-QKCKZYLH.js.map +0 -1
- package/dist/chunk-RCLZFQVX.cjs.map +0 -1
|
@@ -328,7 +328,8 @@ interface NeuronWebProps {
|
|
|
328
328
|
onCameraChange?: (position: [number, number, number]) => void;
|
|
329
329
|
/**
|
|
330
330
|
* Enable node dragging for manual arrangement.
|
|
331
|
-
*
|
|
331
|
+
* Use Shift+click to drag nodes (regular click still works for selection/pan).
|
|
332
|
+
* - `true` or `{ enabled: true }`: Enable dragging, constrain to XY plane
|
|
332
333
|
* - `{ enabled: true, constrainToPlane: 'xy' | 'xz' | 'yz' }`: Constrain to specific plane
|
|
333
334
|
*/
|
|
334
335
|
draggable?: boolean | {
|
|
@@ -328,7 +328,8 @@ interface NeuronWebProps {
|
|
|
328
328
|
onCameraChange?: (position: [number, number, number]) => void;
|
|
329
329
|
/**
|
|
330
330
|
* Enable node dragging for manual arrangement.
|
|
331
|
-
*
|
|
331
|
+
* Use Shift+click to drag nodes (regular click still works for selection/pan).
|
|
332
|
+
* - `true` or `{ enabled: true }`: Enable dragging, constrain to XY plane
|
|
332
333
|
* - `{ enabled: true, constrainToPlane: 'xy' | 'xz' | 'yz' }`: Constrain to specific plane
|
|
333
334
|
*/
|
|
334
335
|
draggable?: boolean | {
|
|
@@ -2637,6 +2637,7 @@ var InteractionManager = class {
|
|
|
2637
2637
|
}
|
|
2638
2638
|
onPointerDown(event) {
|
|
2639
2639
|
if (!this.config.enableDrag) return;
|
|
2640
|
+
if (!event.shiftKey) return;
|
|
2640
2641
|
this.updatePointer(event);
|
|
2641
2642
|
this.pointerDownPosition.copy(this.pointer);
|
|
2642
2643
|
const node = this.getIntersectedNode(this.pointer);
|
|
@@ -4859,5 +4860,5 @@ function dedupePreserveOrder(values) {
|
|
|
4859
4860
|
}
|
|
4860
4861
|
|
|
4861
4862
|
export { DEFAULT_RENDERING_OPTIONS, DEFAULT_STATUS_COLORS, DEFAULT_THEME, NeuronContext, NeuronWeb, NeuronWebExplorer, SceneManager, ThemeEngine, applyFuzzyLayout, applyTreeLayout, createStoryBeat, createStudyPathFromBeat, createStudyPathFromNodeIds, getAutoPerformanceMode, normalizeStoryBeat, useNeuronContext, useNeuronGraph, validateStoryBeat };
|
|
4862
|
-
//# sourceMappingURL=chunk-
|
|
4863
|
-
//# sourceMappingURL=chunk-
|
|
4863
|
+
//# sourceMappingURL=chunk-S5KMHLNT.js.map
|
|
4864
|
+
//# sourceMappingURL=chunk-S5KMHLNT.js.map
|