jinfang134/vue-pipeline

你好,我尝试使用连续多个stage中有多个任务的情况,流水线图失真了, 请问有办法解决吗,我通过添加临时节点的方式可以规避此问题

wanghl2333 opened this issue · 0 comments

image
数据如下所示:
[
{
name: "Start",
hint: "1m23s",
status: "start",
next: [{ index: 1, weight: 2 }]
},
{
name: "Ammouncement Import",
hint: "1m23s",
status: "success",
next: [{ index: 2, weight: 2 }]
},
{
name: "Employee ID to Onboarding",
hint: "2m23s",
status: "success",
next: [
{ index: 3, weight: 2 },
{ index: 4, weight: 2 },
{ index: 5, weight: 2 },
{ index: 6, weight: 0 },
{ index: 7, weight: 1 },
{ index: 8, weight: 2 },
{ index: 9, weight: 0 }
]
},
{
name: "Personal Basic Info",
hint: "2m23s",
status: "unstable",
next: [{ index: 10, weight: 0 }, { index: 11, weight: 0 }]
},
{
name: "地址信息",
hint: "2m23s",
status: "success",
next: [{ index: 10, weight: 0 }, { index: 11, weight: 0 }]
},
{
name: "Family Info",
hint: "2m23s",
status: "failure",
next: [{ index: 10, weight: 0 }, { index: 11, weight: 0 }]
},
{
name: "Education Info",
hint: "2m23s",
status: "running",
next: [{ index: 10, weight: 0 }, { index: 11, weight: 0 }]
},
{
name: "Degree Info",
hint: "2m23s",
status: "failure",
next: [{ index: 10, weight: 0 }, { index: 11, weight: 0 }]
},
{
name: "Career Info",
hint: "2m23s",
status: "failure",
next: [{ index: 10, weight: 0 }, { index: 11, weight: 0 }]
},
{
name: "Dare123213 Info",
hint: "2m23s",
status: "failure",
next: [{ index: 10, weight: 0 }, { index: 11, weight: 0 }]
},
{
name: "tmp",
hint: "2m23s",
status: "failure",
next: [{ index: 12, weight: 0 }]
},
{
name: "Qualification Info",
hint: "2m23s",
status: "failure",
next: [{ index: 12, weight: 0 }]
},

{ name: "End", hint: "2m23s", status: "end", next: [] }

]