Update looping (#2468)

* update loops

* set final values

* update loop behavior
This commit is contained in:
Mutasem Aldmour
2021-11-25 18:38:00 +01:00
committed by GitHub
parent 91bafb4860
commit 889921f5fe
2 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ export const CONNECTOR_FLOWCHART_TYPE = ['N8nCustom', {
stub: JSPLUMB_FLOWCHART_STUB + 10,
targetGap: 4,
alwaysRespectStubs: false,
loopbackVerticalLength: NODE_SIZE, // height of vertical segment when looping
loopbackVerticalLength: NODE_SIZE + GRID_SIZE, // height of vertical segment when looping
loopbackMinimum: LOOPBACK_MINIMUM, // minimum length before flowchart loops around
getEndpointOffset(endpoint: Endpoint) {
const indexOffset = 10; // stub offset between different endpoints of same node