@logicflow/core 1.2.0-alpha.11 → 1.2.0-alpha.12

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.
@@ -11337,7 +11337,7 @@ module.exports.f = function (C) {
11337
11337
  /* 161 */
11338
11338
  /***/ (function(module) {
11339
11339
 
11340
- module.exports = JSON.parse("{\"a\":\"1.2.0-alpha.10\"}");
11340
+ module.exports = JSON.parse("{\"a\":\"1.2.0-alpha.11\"}");
11341
11341
 
11342
11342
  /***/ }),
11343
11343
  /* 162 */
@@ -31404,7 +31404,9 @@ var Anchor_Anchor = /*#__PURE__*/function (_Component) {
31404
31404
  eventCenter = graphModel.eventCenter,
31405
31405
  width = graphModel.width,
31406
31406
  height = graphModel.height,
31407
- editConfigModel = graphModel.editConfigModel;
31407
+ _graphModel$editConfi = graphModel.editConfigModel,
31408
+ autoExpand = _graphModel$editConfi.autoExpand,
31409
+ stopMoveGraph = _graphModel$editConfi.stopMoveGraph;
31408
31410
  var clientX = event.clientX,
31409
31411
  clientY = event.clientY;
31410
31412
 
@@ -31444,7 +31446,7 @@ var Anchor_Anchor = /*#__PURE__*/function (_Component) {
31444
31446
 
31445
31447
  _this.moveAnchorEnd(x1, y1);
31446
31448
 
31447
- if (nearBoundary.length > 0 && !editConfigModel.stopMoveGraph) {
31449
+ if (nearBoundary.length > 0 && !stopMoveGraph && autoExpand) {
31448
31450
  _this.t = setInterval(function () {
31449
31451
  var _nearBoundary = nearBoundary,
31450
31452
  _nearBoundary2 = Anchor_slicedToArray(_nearBoundary, 2),