@mx-sose-front/mx-sose-graph 1.2.5 → 1.2.6
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/index.esm.js +4 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/store/graphStore.ts +4 -1
package/dist/index.esm.js
CHANGED
|
@@ -9649,9 +9649,11 @@ const useGraphStore = defineStore("graph", () => {
|
|
|
9649
9649
|
}
|
|
9650
9650
|
}
|
|
9651
9651
|
}
|
|
9652
|
+
console.log("1. endDragShape start");
|
|
9652
9653
|
await EdgeUtils.updateRelatedEdgesAsync(shapes.value, changedIds, (shape) => {
|
|
9653
9654
|
updateShape(shape.id, shape);
|
|
9654
9655
|
}, edgesByNodeId.value, shapeMap.value);
|
|
9656
|
+
console.log("1. endDragShape start");
|
|
9655
9657
|
autoExpandMovedCompartmentsAfterDrag(shapes.value, changedIds, updateShape);
|
|
9656
9658
|
const allReparentIds = [...changedIds, ...clonedIds];
|
|
9657
9659
|
const prevMapForComparents = { ...prevParentById };
|
|
@@ -9696,7 +9698,9 @@ const useGraphStore = defineStore("graph", () => {
|
|
|
9696
9698
|
}
|
|
9697
9699
|
}
|
|
9698
9700
|
eventBus.emit("shape-drag-end", payloads, ownerPayload, onNestDone);
|
|
9701
|
+
console.log("3. emit done");
|
|
9699
9702
|
cleanupAfterDrag();
|
|
9703
|
+
console.log("4. cleanupAfterDrag done");
|
|
9700
9704
|
} catch (e) {
|
|
9701
9705
|
console.error("endDragShape 执行失败:", e);
|
|
9702
9706
|
} finally {
|