This commit is contained in:
2026-02-25 13:45:55 +08:00
parent 97fc467d2b
commit 95f736df76
37 changed files with 337 additions and 1835 deletions

View File

@@ -47,7 +47,7 @@ export function useLayout() {
}
dagre.layout(dagreGraph)
// set nodes with updated positions
return nodes.map((node) => {
const nodeWithPosition = dagreGraph.node(node.id)
@@ -75,7 +75,6 @@ export function useLayout() {
targetPosition = Position.Top
sourcePosition = Position.Bottom
}
return {
...node,
targetPosition,