feat(editor): Compute node position and connections when creating new nodes in new canvas (no-changelog) (#9830)

This commit is contained in:
Alex Grozav
2024-06-25 12:11:44 +03:00
committed by GitHub
parent b55fc60993
commit 31c456700a
15 changed files with 1628 additions and 858 deletions

View File

@@ -839,8 +839,10 @@ export default defineComponent({
async mounted() {
// To be refactored (unref) when migrating to composition API
this.onMouseMoveEnd = this.mouseUp;
this.initializeCanvasMouseSelect();
this.resetWorkspace();
if (!this.nodeViewRef) {
this.showError(
new Error('NodeView reference not found'),