都匀市住房和城乡建设局网站如何与连连跨境电商网站进行有效对接?
摘要:都匀市住房和城乡建设局网站,连连跨境电商网站开发,佛山网站设计怎么做,云南营销型网站建设先上图 index.html,有时候可能加载失败,那就再找一个别的cdn 或者npm下载
都匀市住房和城乡建设局网站,连连跨境电商网站开发,佛山网站设计怎么做,云南营销型网站建设先上图 //index.html#xff0c;有时候可能加载失败#xff0c;那就再找一个别的cdn 或者npm下载#xff0c;如果npm下载#xff0c;
//那么需要全局引入或者局部引入#xff0c;代码里面写法也会不同#xff0c;详细的可以看示例script srchttps://cdn.jsdeli… 先上图 //index.html有时候可能加载失败那就再找一个别的cdn 或者npm下载如果npm下载
//那么需要全局引入或者局部引入代码里面写法也会不同详细的可以看示例script srchttps://cdn.jsdelivr.net/npm/antv/x6/dist/x6.js/script
//chart.vue
templatedivel-button typeprimary clickdownload导出PNG/el-buttonel-button typeprimary clickdownloadJSON导出JSON/el-buttoninput typefile idselect-input reffiles stylewidth: 70px/删除某个节点 shiftbackspacediv idcontainerdiv idstencil/divdiv idgraph-container/div/div/div
/templatescript
export default {data(){return{graph: null,}},mounted(){// 为了协助代码演示const graph new X6.Graph({container: document.getElementById(graph-container),grid: true,background: {color: #fffbe6, // 设置画布背景颜色},mousewheel: {enabled: true,zoomAtMousePosition: true,modifiers: ctrl,minScale: 0.5,maxScale: 3},connecting: {router: {name: manhattan,args: {padding: 1}},connector: {name: rounded,args: {radius: 8}},anchor: center,connectionPoint: anchor,allowBlank: false,snap: {radius: 20},createEdge() {return new X6.Shape.Edge({attrs: {line: {stroke: #A2B1C3,strokeWidth: 2,targetMarker: {name: block,width: 12,height: 8}}},zIndex: 0})},validateConnection({ targetMagnet }) {return !!targetMagnet}},highlighting: {magnetAdsorbed: {name: stroke,args: {attrs: {fill: #5F95FF,stroke: #5F95FF}}}},resizing: true,rotating: true,selecting: {enabled: true,rubberband: true,showNodeSelectionBox: true},snapline: true,keyboard: true,clipboard: true})this.graph graph// #region 初始化 stencilconst stencil new X6.Addon.Stencil({title: 流程图,target: graph,stencilGraphWidth: 200,stencilGraphHeight: 180,collapsable: true,groups: [{title: 基础流程图,name: group1},{title: 系统设计图,name: group2,graphHeight: 250,layoutOptions: {rowHeight: 70}}],layoutOptions: {columns: 2,columnWidth: 80,rowHeight: 55}})document.getElementById(stencil).appendChild(stencil.container)// #region 快捷键与事件// copy cut
