fix(editor): Nodes connectors improvements (#8945)

Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
Giulio Andreini
2024-03-26 09:54:04 +01:00
committed by GitHub
parent ef45da95f1
commit 264f918d97
5 changed files with 31 additions and 11 deletions

View File

@@ -10,11 +10,12 @@ import {
} from '@jsplumb/browser-ui';
export type ComputedN8nPlusEndpoint = [number, number, number, number, number];
export type N8nEndpointLabelLength = 'small' | 'medium' | 'large';
interface N8nPlusEndpointParams extends EndpointRepresentationParams {
dimensions: number;
connectedEndpoint: Endpoint;
hoverMessage: string;
endpointLabelLength: 'small' | 'medium';
endpointLabelLength: N8nEndpointLabelLength;
size: 'small' | 'medium';
showOutputLabel: boolean;
}