流程图分支节点位置向后移动一个节点位置
parent
04c8856886
commit
2641825c95
|
|
@ -114,7 +114,7 @@ export const getFlowData = (list) => {
|
||||||
|
|
||||||
branches.forEach((branch, branchIdx) => {
|
branches.forEach((branch, branchIdx) => {
|
||||||
const branchNodeId = `branch-${index}-${branchIdx}`;
|
const branchNodeId = `branch-${index}-${branchIdx}`;
|
||||||
const branchX = branchStartX + branchIdx * horizontalSpacing;
|
const branchX = branchStartX + branchIdx * horizontalSpacing + horizontalSpacing;
|
||||||
|
|
||||||
nodes.push({
|
nodes.push({
|
||||||
id: branchNodeId,
|
id: branchNodeId,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue