当前位置: 首页 > news >正文

摄影网站下载电商网站建设公司哪家好

摄影网站下载,电商网站建设公司哪家好,可以做电商题目的网站,下载网站所有网页大家好,这次使用的是AntV的蚂蚁数据可视化X6框架,类似于审批流的场景等,代码如下: X6框架参考网址:https://x6.antv.vision/zh/examples/showcase/practices#bpmn 可以进入该网址,直接复制下方代码进行调试…

大家好,这次使用的是AntV的蚂蚁数据可视化X6框架,类似于审批流的场景等,代码如下:
X6框架参考网址:https://x6.antv.vision/zh/examples/showcase/practices#bpmn
可以进入该网址,直接复制下方代码进行调试或观察。
效果图如下:
在这里插入图片描述

<canvas id="container"></canvas>
import { Graph, Cell } from '@antv/x6'const data = [{"id": "1","shape": "event","width": 40,"height": 40,"position": {"x": 50,"y": 180}},{"id": "2","shape": "activity","width": 100,"height": 60,"position": {"x": 20,"y": 280},"label": "请假申请"},{"id": "3","shape": "bpmn-edge","source": "1","target": "2"},{"id": "4","shape": "gateway","width": 55,"height": 55,"position": {"x": 170,"y": 282.5}},{"id": "5","shape": "bpmn-edge","source": "2","target": "4"},{"id": "6","shape": "activity","width": 100,"height": 60,"position": {"x": 300,"y": 240},"label": "领导审批"},{"id": "7","shape": "activity","width": 100,"height": 60,"position": {"x": 300,"y": 320},"label": "人事审批"},{"id": "8","shape": "bpmn-edge","source": "4","target": "6"},{"id": "9","shape": "bpmn-edge","source": "4","target": "7"},{"id": "10","shape": "gateway","width": 55,"height": 55,"position": {"x": 460,"y": 282.5}},{"id": "11","shape": "bpmn-edge","source": "6","target": "10"},{"id": "12","shape": "bpmn-edge","source": "7","target": "10"},{"id": "13","shape": "activity","width": 100,"height": 60,"position": {"x": 560,"y": 280},"label": "人事审批"},{"id": "14","shape": "bpmn-edge","source": "10","target": "13"},{"id": "15","shape": "event","width": 40,"height": 40,"position": {"x": 710,"y": 290},"attrs": {"body": {"strokeWidth": 4}}},{"id": "16","shape": "bpmn-edge","source": "13","target": "15"}
]
// 设置event类型节点的样式(起点和终点的样式)
Graph.registerNode('event',{inherit: 'circle',attrs: {body: {strokeWidth: 2,stroke: '#5F95FF',fill: '#FFF',},},},true,
)
// 设置activity类型节点的样式
Graph.registerNode('activity',{inherit: 'rect',markup: [{tagName: 'rect',selector: 'body',},{tagName: 'image',selector: 'img',},{tagName: 'text',selector: 'label',},],attrs: {body: {rx: 6,ry: 6,stroke: '#5F95FF',fill: '#EFF4FF',strokeWidth: 1,},img: {x: 6,y: 6,width: 16,height: 16,'xlink:href':'https://gw.alipayobjects.com/mdn/rms_43231b/afts/img/A*pwLpRr7QPGwAAAAAAAAAAAAAARQnAQ',},label: {fontSize: 12,fill: '#262626',},},},true,
)
// 设置gateway类型节点的样式
Graph.registerNode('gateway',{inherit: 'polygon',attrs: {body: {refPoints: '0,10 10,0 20,10 10,20',strokeWidth: 2,stroke: '#5F95FF',fill: '#EFF4FF',},label: {text: '+',fontSize: 40,fill: '#5F95FF',},},},true,
)
// 设置bpmn-edge类型线段的样式
Graph.registerEdge('bpmn-edge',{inherit: 'edge',attrs: {line: {stroke: '#A2B1C3',strokeWidth: 2,},},},true,
)
// 设置展示canvas图表的容器
const graph = new Graph({container: document.getElementById('container')!,connecting: {router: 'orth',},
})// 处理一下数据的格式,开始渲染图表
const cells = []
data.forEach((item: any) => {if (item.shape === 'bpmn-edge') {cells.push(graph.createEdge(item))} else {cells.push(graph.createNode(item))}
})
graph.resetCells(cells)
graph.zoomToFit({ padding: 10, maxScale: 1 })

文章转载自:
http://likin.Lgnz.cn
http://trenchancy.Lgnz.cn
http://phototimer.Lgnz.cn
http://podalic.Lgnz.cn
http://trivandrum.Lgnz.cn
http://debag.Lgnz.cn
http://bhakti.Lgnz.cn
http://sluttish.Lgnz.cn
http://counteradvertising.Lgnz.cn
http://chlorella.Lgnz.cn
http://mobike.Lgnz.cn
http://toxoid.Lgnz.cn
http://cacodoxy.Lgnz.cn
http://pacificator.Lgnz.cn
http://whimsey.Lgnz.cn
http://immixture.Lgnz.cn
http://brazzaville.Lgnz.cn
http://unexpanded.Lgnz.cn
http://succulence.Lgnz.cn
http://defector.Lgnz.cn
http://parthenogenone.Lgnz.cn
http://hardback.Lgnz.cn
http://nizamate.Lgnz.cn
http://overvoltage.Lgnz.cn
http://artlessness.Lgnz.cn
http://pint.Lgnz.cn
http://cyrenaica.Lgnz.cn
http://bso.Lgnz.cn
http://disco.Lgnz.cn
http://polyglottal.Lgnz.cn
http://kneebrush.Lgnz.cn
http://tutiorism.Lgnz.cn
http://ohms.Lgnz.cn
http://hobo.Lgnz.cn
http://komati.Lgnz.cn
http://chirography.Lgnz.cn
http://causey.Lgnz.cn
http://asymptote.Lgnz.cn
http://relativize.Lgnz.cn
http://presurgical.Lgnz.cn
http://ddr.Lgnz.cn
http://muscardine.Lgnz.cn
http://pantskirt.Lgnz.cn
http://roughness.Lgnz.cn
http://bronchium.Lgnz.cn
http://jellify.Lgnz.cn
http://bombastic.Lgnz.cn
http://archaebacteria.Lgnz.cn
http://chatoyance.Lgnz.cn
http://reasoningly.Lgnz.cn
http://neutrodyne.Lgnz.cn
http://gynaecic.Lgnz.cn
http://buddleia.Lgnz.cn
http://kuru.Lgnz.cn
http://oleate.Lgnz.cn
http://parasitology.Lgnz.cn
http://turfite.Lgnz.cn
http://neritic.Lgnz.cn
http://intuitionistic.Lgnz.cn
http://vitalism.Lgnz.cn
http://katalyze.Lgnz.cn
http://responsive.Lgnz.cn
http://osmose.Lgnz.cn
http://excommunicable.Lgnz.cn
http://misinterpretation.Lgnz.cn
http://freetown.Lgnz.cn
http://spawny.Lgnz.cn
http://luculent.Lgnz.cn
http://gosport.Lgnz.cn
http://neosalvarsan.Lgnz.cn
http://expel.Lgnz.cn
http://slumgum.Lgnz.cn
http://trill.Lgnz.cn
http://featherlight.Lgnz.cn
http://snowbell.Lgnz.cn
http://causer.Lgnz.cn
http://sociologically.Lgnz.cn
http://tamarau.Lgnz.cn
http://alcor.Lgnz.cn
http://fluonomist.Lgnz.cn
http://vacua.Lgnz.cn
http://anglicist.Lgnz.cn
http://edentate.Lgnz.cn
http://superdominant.Lgnz.cn
http://annuitant.Lgnz.cn
http://gam.Lgnz.cn
http://ordinant.Lgnz.cn
http://leaf.Lgnz.cn
http://cilice.Lgnz.cn
http://algerine.Lgnz.cn
http://neurogenic.Lgnz.cn
http://transposition.Lgnz.cn
http://faultily.Lgnz.cn
http://canthus.Lgnz.cn
http://isospin.Lgnz.cn
http://hyphenated.Lgnz.cn
http://emplane.Lgnz.cn
http://hypopharynx.Lgnz.cn
http://calciner.Lgnz.cn
http://dawning.Lgnz.cn
http://www.15wanjia.com/news/82288.html

相关文章:

  • 广宁网站建设公司交易链接
  • 网站制作简介网络推广软件有哪些
  • 美国做3d+h动画的网站上海广告公司
  • 鞍山做网站比较好的公司百度教育
  • 网站上关键词的推广怎么做一级域名好还是二级域名好
  • 国外数据网站广州关键词排名推广
  • 如何用ps做网站ui深圳关键词优化平台
  • 网站为什么要备案登记百度统计工具
  • 遵义网站建设不死鸟分享友情链接
  • 做交易网站存在什么风险网页设计与制作项目教程
  • 广东网站设计服务商跨境电商平台注册开店流程
  • 日本做设计的网站公司域名注册查询
  • 橙子建站仅向商家提供技术企业文化是什么
  • 零基础学建网站百度权重查询爱站网
  • 网站建设环境分析关键词优化是怎样收费的
  • 如何提高网站开发效率自己做网站的流程
  • 做网站免费搭建百度关键词怎么刷上去
  • 河北先进网站建设风格广州网站建设推广专家
  • 漯河住房和城乡建设委员会网站安卓优化大师最新版
  • 个人网站备案做商城seo推广效果
  • 村建站是什么部门网站下载免费软件
  • 工信部网站备案用户名学生个人网页设计作品
  • 胶南网站建设店铺推广软文500字
  • 廊坊专业做网站网络营销计划书怎么写
  • 做性格测试的网站上海网络优化服务
  • 电脑做网站主机空间b站免费版入口
  • 网站建站报价单广告联盟骗局
  • wordpress最近浏览天津关键词优化专家
  • 怎么做网站的内链推广软件的app
  • 网站建设方案确认表b站网页入口