用Echart的Graph实现双向流程图

更新时间:2023-07-17 07:37:50 阅读: 评论: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: [
8月4日{
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-17 07:37:50,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1084814.html

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

下一篇:SDK编程
标签:流程图   值取   订单   落料
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图