rename type

This commit is contained in:
Mutasem 2021-11-15 14:55:16 +01:00
parent 6c8968247a
commit 6a080a1ac5
2 changed files with 5 additions and 5 deletions

View file

@ -395,9 +395,9 @@
};
_ju.extend(_jp.Connectors.N8nAbstractConnector, AbstractComponent);
var Bezier = function (params) {
var N8nCustom = function (params) {
params = params || {};
this.type = "N8nBezier";
this.type = "N8nCustom";
var _super = _jp.Connectors.N8nAbstractConnector.apply(this, arguments),
majorAnchor = params.curviness || 150,
@ -429,8 +429,8 @@
};
};
_jp.Connectors.N8nBezier = Bezier;
_ju.extend(_jp.Connectors.N8nBezier, _jp.Connectors.N8nAbstractConnector);
_jp.Connectors.N8nCustom= N8nCustom;
_ju.extend(_jp.Connectors.N8nCustom, _jp.Connectors.N8nAbstractConnector);
}).call(typeof window !== 'undefined' ? window : this);

View file

@ -47,7 +47,7 @@ export const DEFAULT_START_NODE = {
parameters: {},
};
export const CONNECTOR_FLOWCHART_TYPE = ['N8nBezier', {
export const CONNECTOR_FLOWCHART_TYPE = ['N8nCustom', {
cornerRadius: 4,
stub: JSPLUMB_FLOWCHART_STUB + 10,
gap: 4,