fix: workflow auto layout nodes offset & delete node shortcuts (#3484)
This commit is contained in:
parent
459bed9243
commit
d965b91b08
2 changed files with 3 additions and 3 deletions
|
|
@ -175,8 +175,8 @@ export const getLayoutByDagre = (originNodes: Node[], originEdges: Edge[]) => {
|
|||
dagreGraph.setGraph({
|
||||
rankdir: 'LR',
|
||||
align: 'UL',
|
||||
nodesep: 64,
|
||||
ranksep: 40,
|
||||
nodesep: 40,
|
||||
ranksep: 60,
|
||||
})
|
||||
nodes.forEach((node) => {
|
||||
dagreGraph.setNode(node.id, { width: node.width, height: node.height })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue