Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
04d54c03
Commit
04d54c03
authored
Mar 05, 2024
by
StyleZhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0367a214
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
page.tsx
...onLayout)/app/(appDetailLayout)/[appId]/workflow/page.tsx
+1
-12
index.tsx
web/app/components/workflow/index.tsx
+1
-0
No files found.
web/app/(commonLayout)/app/(appDetailLayout)/[appId]/workflow/page.tsx
View file @
04d54c03
...
...
@@ -4,19 +4,8 @@ import { memo } from 'react'
import
Workflow
from
'@/app/components/workflow'
const
Page
=
()
=>
{
const
nodes
=
[
{
id
:
'1'
,
type
:
'custom'
,
position
:
{
x
:
0
,
y
:
0
},
data
:
{
type
:
'start'
},
},
]
return
(
<
Workflow
nodes=
{
nodes
}
edges=
{
[]
}
/>
<
Workflow
/>
)
}
export
default
memo
(
Page
)
web/app/components/workflow/index.tsx
View file @
04d54c03
...
...
@@ -118,6 +118,7 @@ const WorkflowWrap: FC<WorkflowProps> = ({
const
startNode
=
{
id
:
`
${
Date
.
now
()}
`
,
type
:
'custom'
,
data
:
NodeInitialData
.
start
,
position
:
{
x
:
100
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment