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

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.11\"}");
11340
+ module.exports = JSON.parse("{\"a\":\"1.2.0-alpha.12\"}");
11341
11341
 
11342
11342
  /***/ }),
11343
11343
  /* 162 */
@@ -22727,7 +22727,7 @@ var BaseEdgeModel_BaseEdgeModel = /*#__PURE__*/function () {
22727
22727
  BaseEdgeModel_defineProperty(this, "style", {});
22728
22728
 
22729
22729
  BaseEdgeModel_defineProperty(this, "arrowConfig", {
22730
- markerEnd: "url(#marker-end-".concat(this.id, ")"),
22730
+ markerEnd: '',
22731
22731
  markerStart: ''
22732
22732
  });
22733
22733
 
@@ -22824,6 +22824,8 @@ var BaseEdgeModel_BaseEdgeModel = /*#__PURE__*/function () {
22824
22824
  if (overlapMode === OverlapMode.INCREASE) {
22825
22825
  this.zIndex = data.zIndex || getZIndex();
22826
22826
  }
22827
+
22828
+ this.arrowConfig.markerEnd = "url(#marker-end-".concat(this.id, ")");
22827
22829
  }
22828
22830
  /**
22829
22831
  * 设置model属性,每次properties发生变化会触发
@@ -35481,7 +35483,11 @@ var History_History = /*#__PURE__*/function () {
35481
35483
 
35482
35484
  this.eventCenter = graphModel.eventCenter;
35483
35485
  var NODE_ADD = EventType.NODE_ADD,
35486
+ NODE_DELETE = EventType.NODE_DELETE,
35487
+ NODE_DND_ADD = EventType.NODE_DND_ADD,
35484
35488
  EDGE_ADD = EventType.EDGE_ADD,
35489
+ EDGE_DELETE = EventType.EDGE_DELETE,
35490
+ TEXT_UPDATE = EventType.TEXT_UPDATE,
35485
35491
  NODE_DROP = EventType.NODE_DROP,
35486
35492
  EDGE_ADJUST = EventType.EDGE_ADJUST,
35487
35493
  SELECTION_DROP = EventType.SELECTION_DROP,
@@ -35492,7 +35498,7 @@ var History_History = /*#__PURE__*/function () {
35492
35498
  NODE_PROPERTY_UPDATE = EventType.NODE_PROPERTY_UPDATE,
35493
35499
  EDGE_PROPERTY_UPDATE = EventType.EDGE_PROPERTY_UPDATE,
35494
35500
  HISTORY_INSERT = EventType.HISTORY_INSERT;
35495
- var historyChangeKeys = "\n ".concat(NODE_ADD, ",\n ").concat(EDGE_ADD, ",\n ").concat(NODE_DROP, ",\n ").concat(EDGE_ADJUST, ",\n ").concat(SELECTION_DROP, ",\n ").concat(TEXT_DROP, ",\n ").concat(NODE_TEXT_UPDATE, ",\n ").concat(EDGE_TEXT_UPDATE, ",\n ").concat(GRAPH_RENDERED, "\n ");
35501
+ var historyChangeKeys = "\n ".concat(NODE_ADD, ",\n ").concat(EDGE_ADD, ",\n ").concat(NODE_DELETE, ",\n ").concat(NODE_DND_ADD, ",\n ").concat(EDGE_DELETE, ",\n ").concat(TEXT_UPDATE, ",\n ").concat(NODE_DROP, ",\n ").concat(EDGE_ADJUST, ",\n ").concat(SELECTION_DROP, ",\n ").concat(TEXT_DROP, ",\n ").concat(NODE_TEXT_UPDATE, ",\n ").concat(EDGE_TEXT_UPDATE, ",\n ").concat(GRAPH_RENDERED, "\n ");
35496
35502
 
35497
35503
  if (isPropertiesChangeHistory) {
35498
35504
  historyChangeKeys += ",".concat(NODE_PROPERTY_UPDATE, ",").concat(EDGE_PROPERTY_UPDATE);