用Echart的Graph实现双向流程图

更新时间:2023-07-14 03:22:29 阅读: 评论:0

⽤Echart的Graph实现双向流程图 效果图:
Echart代码:
initChart(item) {
this.chart = echarts.ElementsByClassName("popupQualified")[0]);      this.chart.tOption({
yAxis: [
{
type: "category",
健康茶boundaryGap: fal,
show: fal,
//这⾥按照同⼀⼯序有多个⼦⼯序的最⼤值取个数
data: this.YData,
},
],
xAxis: {
type: "category",
show: fal,
data: [],
},
ries: [
{李清照照片
type: "graph",
layout: "none",
coordinateSystem: "cartesian2d",
symbolKeepAspect: fal,
symbol: "rect",
symbolSize: [130, 120],
怎么做炸薯条label: {
normal: {
show: true,
},
},
edgeSymbol: ["circle", "arrow"],
希腊罗马神话edgeSymbolSize: [2, 5],
data: this.ValueData,
links: this.LinksData,
lineStyle: {
normal: {
color: "#2f4554",
},
},
},
],
});
},
怎么种黄豆数据:
console.log('YData:', this.YData)
/**
[1,2,3]
**/
console.log('ValueData:', this.ValueData)
/**
[
{
name: "⼯序1_1",
processName: "测试订单",
value:[0,0],
workCellType: 0,
workCenterName: "激光落料中⼼",                      },{
name: "⼯序1_2",
processName: "测试订单",
value:[0,1],
实施工程师简历workCellType: 0,
workCenterName: "激光落料中⼼",                      },{
name: "⼯序2_1",
processName: "测试订单",
value:[120,0],
workCellType: 0,
workCenterName: "激光落料中⼼",                      },{
name: "⼯序2_2",
processName: "测试订单",
value:[120,1],
workCellType: 0,
workCenterName: "激光落料中⼼",                      },{
name: "⼯序2_3",
processName: "测试订单",
value:[120,2],
workCellType: 0,
workCenterName: "激光落料中⼼",                      },{
name: "⼯序3_1",
processName: "测试订单",
value:[240,0],
workCellType: 0,
workCenterName: "激光落料中⼼",                      },
]
**/
扬州百度console.log('LinksData:', this.LinksData)
/**
[{ source: "⼯序1_1", target: "⼯序2_1" },
{ source: "⼯序2_1", target: "⼯序3_1" },
{ source: "⼯序1_1", target: "⼯序1_2" },
{ source: "⼯序1_2", target: "⼯序1_1" },
{ source: "⼯序2_1", target: "⼯序2_2" },
{ source: "⼯序2_2", target: "⼯序2_1" },
大班科学教案{ source: "⼯序2_2", target: "⼯序2_3" },
{ source: "⼯序2_3", target: "⼯序2_2" }]
**/

本文发布于:2023-07-14 03:22:29,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/1095410.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:流程图   罗马   简历   值取   黄豆
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图