feat(editor): Implement custom edge to support loops (no-changelog) (#10171)
Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user