feat(editor): Implement custom edge to support loops (no-changelog) (#10171)

Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
Elias Meire
2024-07-24 14:47:18 +02:00
committed by GitHub
parent b81f0bf9ea
commit 79bccf0305
14 changed files with 236 additions and 46 deletions

View File

@@ -15,6 +15,7 @@ export function useCanvasNode() {
node?.data.value ?? {
id: '',
name: '',
subtitle: '',
type: '',
typeVersion: 1,
disabled: false,
@@ -37,6 +38,7 @@ export function useCanvasNode() {
const id = computed(() => node?.id.value ?? '');
const label = computed(() => node?.label.value ?? '');
const subtitle = computed(() => data.value.subtitle);
const name = computed(() => data.value.name);
const inputs = computed(() => data.value.inputs);
const outputs = computed(() => data.value.outputs);
@@ -66,6 +68,7 @@ export function useCanvasNode() {
id,
name,
label,
subtitle,
inputs,
outputs,
connections,