diff --git a/frontend/src/components/visual-editor/v2/Diagrams.tsx b/frontend/src/components/visual-editor/v2/Diagrams.tsx index b85f4ac..37f29fc 100644 --- a/frontend/src/components/visual-editor/v2/Diagrams.tsx +++ b/frontend/src/components/visual-editor/v2/Diagrams.tsx @@ -273,7 +273,13 @@ const Diagrams = () => { zoomUpdated: debouncedZoomEvent, offsetUpdated: debouncedOffsetEvent, }); - }, [JSON.stringify(blocks)]); + }, [ + JSON.stringify( + blocks.map((b) => { + return { ...b, position: undefined, updatedAt: undefined }; + }), + ), + ]); const handleDeleteButton = () => { const selectedEntities = engine?.getModel().getSelectedEntities();