From dd6abcc7f7d3c42ef8cf82c545015f4f43379ae7 Mon Sep 17 00:00:00 2001 From: wangyanshen <3154583358@qq.com> Date: 星期三, 01 二月 2023 17:49:54 +0800 Subject: [PATCH] 对接故障定义页面,修改故障树展示 --- src/views/main/flow-x6/graph/shape.js | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/views/main/flow-x6/graph/shape.js b/src/views/main/flow-x6/graph/shape.js index 5eb484e..ce07ef2 100644 --- a/src/views/main/flow-x6/graph/shape.js +++ b/src/views/main/flow-x6/graph/shape.js @@ -2,7 +2,16 @@ import { basicPorts, customPorts, bottomPorts, orPorts, andPorts } from './ports' import '@antv/x6-vue-shape' +console.log(Dom,55555) + +const ns = { + "svg": "http://www.w3.org/2000/svg", + "xmlns": "http://www.w3.org/2000/xmlns/", + "xml": "http://www.w3.org/XML/1998/namespace", + "xlink": "http://www.w3.org/1999/xlink", + "xhtml": "http://www.w3.org/1999/xhtml" +} // 鍩虹鑺傜偣 export const FlowChartRect = Graph.registerNode('flow-chart-rect', { inherit: 'rect', @@ -135,6 +144,7 @@ }, ports: { ...orPorts }, }) + // 涓庨棬鑺傜偣 export const andNode = Graph.registerNode('andNode', { width: 70, -- Gitblit v1.9.3