feat(editor): Add support for configurable configuration nodes in new canvas (no-changelog) (#9991)

This commit is contained in:
Alex Grozav
2024-07-10 17:51:18 +03:00
committed by GitHub
parent d2ca8b4b42
commit a45899765c
17 changed files with 318 additions and 457 deletions

View File

@@ -25,7 +25,10 @@ export function useCanvasNode() {
running: false,
},
runData: { count: 0, visible: false },
renderType: 'default',
render: {
type: 'default',
options: {},
},
},
);
@@ -52,6 +55,8 @@ export function useCanvasNode() {
const runDataCount = computed(() => data.value.runData.count);
const hasRunData = computed(() => data.value.runData.visible);
const renderOptions = computed(() => data.value.render.options);
return {
node,
label,
@@ -69,5 +74,6 @@ export function useCanvasNode() {
executionStatus,
executionWaiting,
executionRunning,
renderOptions,
};
}