android应用

This commit is contained in:
rjb
2026-01-20 11:03:55 +08:00
parent f6568f252a
commit d59f015362
16 changed files with 1754 additions and 17 deletions

View File

@@ -92,7 +92,7 @@
:node-types="customNodeTypes"
:connection-line-style="{ stroke: '#409eff', strokeWidth: 2.5, strokeDasharray: '5,5' }"
:default-edge-options="{
type: 'smoothstep',
type: 'bezier',
animated: true,
selectable: true,
deletable: true,
@@ -100,7 +100,7 @@
style: { stroke: '#409eff', strokeWidth: 2.5 },
markerEnd: { type: 'arrowclosed', color: '#409eff', width: 20, height: 20 }
}"
:connection-line-type="'smoothstep'"
:connection-line-type="'bezier'"
:edges-focusable="true"
:nodes-focusable="true"
:delete-key-code="'Delete'"
@@ -1902,7 +1902,7 @@ const onConnect = (connection: Connection) => {
target: connection.target,
sourceHandle: connection.sourceHandle || undefined,
targetHandle: connection.targetHandle || undefined,
type: 'smoothstep', // 使用平滑步进曲线(类似 Dify
type: 'bezier', // 使用贝塞尔曲线(平滑曲线
animated: true,
selectable: true,
deletable: true,
@@ -2700,7 +2700,7 @@ watch(
selectable: true,
deletable: true,
focusable: true,
type: edge.type || 'smoothstep',
type: edge.type || 'bezier',
animated: true,
style: {
stroke: '#409eff',
@@ -2955,7 +2955,7 @@ onMounted(async () => {
selectable: true,
deletable: true,
focusable: true,
type: edge.type || 'smoothstep',
type: edge.type || 'bezier',
animated: true,
style: {
stroke: '#409eff',
@@ -3006,7 +3006,7 @@ onMounted(async () => {
target: edge.target,
sourceHandle: edge.sourceHandle,
targetHandle: edge.targetHandle,
type: edge.type || 'smoothstep',
type: edge.type || 'bezier',
animated: true,
selectable: true,
deletable: true,