n8n/packages/editor-ui/src/plugins/jsplumb
oleg b780436a6b
perf(editor): Improve canvas rendering performance (#8022)
## Summary
- Refactor usage of `setSuspendDrawing`, removing it from loops and only
calling it after batch operations are done
- Batch adding of nodes to improve copy/paste and workflow load
performance
- Cache i18n calls
- Debounce connections dragging handler if there are more than 20 nodes


## Related tickets and issues
> Include links to **Linear ticket** or Github issue or Community forum
post. Important in order to close *automatically* and provide context to
reviewers.
- https://community.n8n.io/t/slow-ui-in-big-scenarios/33830/8

---------

Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
2023-12-14 12:01:00 +01:00
..
index.ts feat(core): Add support for building LLM applications (#7235) 2023-10-02 17:33:43 +02:00
N8nAddInputEndpointRenderer.ts perf(editor): Improve canvas rendering performance (#8022) 2023-12-14 12:01:00 +01:00
N8nAddInputEndpointType.ts perf(editor): Improve canvas rendering performance (#8022) 2023-12-14 12:01:00 +01:00
N8nPlusEndpointRenderer.ts feat(core): Add support for building LLM applications (#7235) 2023-10-02 17:33:43 +02:00
N8nPlusEndpointType.ts perf(editor): Improve canvas rendering performance (#8022) 2023-12-14 12:01:00 +01:00