diff --git a/src/App.vue b/src/App.vue
index c93dac6..fe056ec 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -22,7 +22,7 @@ import {
Grid3X3,
Trash2
} from 'lucide-vue-next'
-import { VueFlow, useVueFlow, Position, MarkerType } from '@vue-flow/core'
+import { VueFlow, useVueFlow, Position, MarkerType, Handle } from '@vue-flow/core'
import { Background, BackgroundVariant } from '@vue-flow/background'
import { Controls } from '@vue-flow/controls'
import { toPng } from 'html-to-image'
@@ -251,7 +251,14 @@ const processSubNodes = (subNodes: any[], parentId: string, baseX: number, baseY
id: childId,
type: 'window',
position: { x: baseX + offsetX, y: baseY + offsetY },
- data: { label: item.text, description: item.description, type: 'child' },
+ data: {
+ label: item.text,
+ description: item.description,
+ type: 'child',
+ followUp: '',
+ isExpanding: false,
+ isImageLoading: false
+ },
sourcePosition: Position.Right,
targetPosition: Position.Left
})
@@ -346,20 +353,24 @@ const startNewSession = () => {
'opacity-100 grayscale-0 blur-0 scale-105 z-50': activeNodeId === id
}"
:style="{
- borderColor: data.isExpanding || activeNodeId === id ? config.edgeColor : '',
+ borderColor: activeNodeId === id ? config.edgeColor : config.edgeColor + '40',
boxShadow: activeNodeId === id ? `0 20px 50px -12px ${config.edgeColor}40` : ''
}"
@mouseenter="hoveredNodeId = id"
@mouseleave="hoveredNodeId = null"
>
+
+