mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
rename type
This commit is contained in:
parent
6c8968247a
commit
6a080a1ac5
|
@ -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);
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue