This commit is contained in:
2024-12-20 14:05:35 +01:00
parent 48fd8fef73
commit 6d77ff13c9
2 changed files with 18 additions and 4 deletions

View File

@@ -185,4 +185,15 @@ export class TpFlowNode extends LitElement {
this.style.transform = `translate(${data.position.x}px, ${data.position.y}px)`;
}
}
dispatchDataUpdate() {
this.dispatchEvent(new CustomEvent('flow-changed', {
detail: {
type: 'node-data-changed',
data: this.exportData()
},
bubbles: true,
composed: true
}));
}
}