@logicflow/core 2.0.14 → 2.0.15

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.
@@ -331,7 +331,7 @@ var BaseEdge = /** @class */ (function (_super) {
331
331
  */
332
332
  BaseEdge.prototype.getStartArrow = function () {
333
333
  var model = this.props.model;
334
- var _a = model.getArrowStyle(), stroke = _a.stroke, strokeWidth = _a.strokeWidth, offset = _a.offset, verticalLength = _a.verticalLength, _b = _a.startArrowType, startArrowType = _b === void 0 ? 'solid' : _b, strokeLinecap = _a.strokeLinecap, strokeLinejoin = _a.strokeLinejoin;
334
+ var _a = model.getArrowStyle(), stroke = _a.stroke, strokeWidth = _a.strokeWidth, offset = _a.offset, verticalLength = _a.verticalLength, _b = _a.startArrowType, startArrowType = _b === void 0 ? 'none' : _b, strokeLinecap = _a.strokeLinecap, strokeLinejoin = _a.strokeLinejoin;
335
335
  return this.getArrowPath(startArrowType, {
336
336
  stroke: stroke,
337
337
  strokeWidth: strokeWidth,
@@ -357,7 +357,7 @@ var BaseEdge = /** @class */ (function (_super) {
357
357
  */
358
358
  BaseEdge.prototype.getStartArrow = function () {
359
359
  var model = this.props.model;
360
- var _a = model.getArrowStyle(), stroke = _a.stroke, strokeWidth = _a.strokeWidth, offset = _a.offset, verticalLength = _a.verticalLength, _b = _a.startArrowType, startArrowType = _b === void 0 ? 'solid' : _b, strokeLinecap = _a.strokeLinecap, strokeLinejoin = _a.strokeLinejoin;
360
+ var _a = model.getArrowStyle(), stroke = _a.stroke, strokeWidth = _a.strokeWidth, offset = _a.offset, verticalLength = _a.verticalLength, _b = _a.startArrowType, startArrowType = _b === void 0 ? 'none' : _b, strokeLinecap = _a.strokeLinecap, strokeLinejoin = _a.strokeLinejoin;
361
361
  return this.getArrowPath(startArrowType, {
362
362
  stroke: stroke,
363
363
  strokeWidth: strokeWidth,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logicflow/core",
3
- "version": "2.0.14",
3
+ "version": "2.0.15",
4
4
  "description": "LogicFlow, help you quickly create flowcharts",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -240,7 +240,7 @@ export abstract class BaseEdge<P extends IProps> extends Component<
240
240
  strokeWidth,
241
241
  offset,
242
242
  verticalLength,
243
- startArrowType = 'solid',
243
+ startArrowType = 'none',
244
244
  strokeLinecap,
245
245
  strokeLinejoin,
246
246
  } = model.getArrowStyle()